test/set_test.rb in mtg_sdk-1.1.1 vs test/set_test.rb in mtg_sdk-2.0.0
- old
+ new
@@ -21,9 +21,17 @@
MTG::Set.find('invalid')
end
end
end
+ def test_all_returns_all_sets
+ VCR.use_cassette('all_sets') do
+ sets = MTG::Set.all
+
+ assert sets.length > 100
+ end
+ end
+
def test_generate_booster_returns_cards
VCR.use_cassette('booster') do
cards = MTG::Set.generate_booster('ktk')
assert cards.length == 15
\ No newline at end of file