aboutsummaryrefslogtreecommitdiffhomepage
path: root/Example/Database/Tests/Integration/FOrderByTests.m
diff options
context:
space:
mode:
authorGravatar Paul Beusterien <paulbeusterien@google.com>2017-06-30 10:47:37 -0700
committerGravatar VinayGuthal <vinayg@qhode.com>2017-06-30 13:47:37 -0400
commitddbfd4cc666f5227ab0e1f5a98c8a499ccbb32d1 (patch)
tree9c2ec4e15b6741f413d66f428c45f0278219d728 /Example/Database/Tests/Integration/FOrderByTests.m
parent925f4c8b7558373172dd9410b7844637afaa2424 (diff)
Add travis trailing whitespace check (#116)
* Add travis trailing whitespace check * Remove trailing white space
Diffstat (limited to 'Example/Database/Tests/Integration/FOrderByTests.m')
-rw-r--r--Example/Database/Tests/Integration/FOrderByTests.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/Example/Database/Tests/Integration/FOrderByTests.m b/Example/Database/Tests/Integration/FOrderByTests.m
index aea6b47..0017e53 100644
--- a/Example/Database/Tests/Integration/FOrderByTests.m
+++ b/Example/Database/Tests/Integration/FOrderByTests.m
@@ -24,7 +24,7 @@
- (void) testCanDefineAndUseAnIndex {
__block FIRDatabaseReference *ref = [FTestHelpers getRandomNode];
-
+
NSArray *users = @[
@{@"name": @"Andrew", @"nuggets": @35},
@{@"name": @"Rob", @"nuggets": @40},
@@ -539,8 +539,8 @@
FTupleFirebase *refs = [FTestHelpers getRandomNodePair];
FIRDatabaseReference *writer = refs.one;
FIRDatabaseReference *reader = refs.two;
-
-
+
+
NSDictionary *initial = @{@"a": @{@"data": @"foo",
@"idx": @YES},
@"b": @{@"data": @"bar",
@@ -548,7 +548,7 @@
@"c": @{@"data": @"baz",
@"idx": @NO}};
[self waitForCompletionOf:writer setValue:initial];
-
+
FIRDatabaseQuery *query = [[reader queryOrderedByChild:@"idx"] queryEqualToValue:@YES];
NSDictionary* expected = @{@"a": @{@"data": @"foo",
@@ -557,12 +557,12 @@
@"idx": @YES}};
[self waitForExportValueOf:query toBe:expected];
-
+
NSDictionary *update = @{@"a/idx": @NO,
@"b/data": @"blah",
@"c/idx": @YES};
[self waitForCompletionOf:writer updateChildValues:update];
-
+
expected = @{@"b": @{@"data": @"blah",
@"idx": @YES},
@"c": @{@"data": @"baz",