spec/unit/support/test_data_operations.rb in trollolo-0.1.1 vs spec/unit/support/test_data_operations.rb in trollolo-0.2.0
- old
+ new
@@ -3,5 +3,9 @@
end
def dummy_settings
Settings.new(File.expand_path('../../../data/trollolorc', __FILE__))
end
+
+def dummy_card_json
+ JSON.parse(File.read(File.expand_path('../../../data/card.json', __FILE__)))
+end