Skip to content

Commit

Permalink
[Bug] Null ask values (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
dougdellolio authored Dec 10, 2017
1 parent 1495a3d commit a369a70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static string Create()
'bids': [
[200, 100, 3],
],
'ask': [
'asks': [
[200, 100, 3],
]
}";
Expand Down
6 changes: 3 additions & 3 deletions GDAXClient.Specs/Services/Products/ProductsServiceSpecs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ class when_getting_a_product_order_book
product_order_books_response.Bids.SelectMany(p => p).ShouldContain(200);
product_order_books_response.Bids.SelectMany(p => p).ShouldContain(100);
product_order_books_response.Bids.SelectMany(p => p).ShouldContain(3);
product_order_books_response.Ask.SelectMany(p => p).ShouldContain(200);
product_order_books_response.Ask.SelectMany(p => p).ShouldContain(100);
product_order_books_response.Ask.SelectMany(p => p).ShouldContain(3);
product_order_books_response.Asks.SelectMany(p => p).ShouldContain(200);
product_order_books_response.Asks.SelectMany(p => p).ShouldContain(100);
product_order_books_response.Asks.SelectMany(p => p).ShouldContain(3);
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ public class ProductsOrderBookResponse

public IEnumerable<IEnumerable<decimal>> Bids { get; set; }

public IEnumerable<IEnumerable<decimal>> Ask { get; set; }
public IEnumerable<IEnumerable<decimal>> Asks { get; set; }
}
}

0 comments on commit a369a70

Please sign in to comment.