spec/fin/shared_examples.rb in fin-0.1.0 vs spec/fin/shared_examples.rb in fin-0.1.2
- old
+ new
@@ -338,10 +338,10 @@
it 'sets item`s book property correctly' do
subject.add(new_item)
book = subject.books[new_item.isin_id]
if new_item_book_index == 0
case subject
- when Fin::OrderList
+ when Fin::QuoteList
new_item.book.should == nil
else
new_item.book.should == book
end
else