Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/J-C-L/VideoStoreAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
J-C-L committed May 10, 2017
2 parents 16e1fcf + 70abd0e commit 3d4832c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/models/customer_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
end

it "can call rentals from customers" do

customer = customers(:shelley)
customer.must_respond_to :rentals
customer.rentals.first.must_be_kind_of Rental
end

end
end

0 comments on commit 3d4832c

Please sign in to comment.