spec/spec_helper.rb in gametel-0.3 vs spec/spec_helper.rb in gametel-0.4
- old
+ new
@@ -10,10 +10,12 @@
end
require 'rspec'
require 'gametel'
-def calabash_platform(gametel)
- platform = Gametel::Platforms::Calabash.new
+def brazenhead_platform(gametel)
+ platform = Gametel::Platforms::BrazenheadPlatform.new
gametel.instance_variable_set(:@platform, platform)
+ platform.stub(:accumulator).and_return(accumulator)
platform
end
+