spec/support/model_test_helpers.rb in wukong-3.0.1 vs spec/support/model_test_helpers.rb in wukong-4.0.0
- old
+ new
@@ -7,10 +7,10 @@
shared_context 'model', :model_spec do
include Gorillib::TestHelpers
after(:each){ Gorillib::Test.nuke_constants ; Meta::Gorillib::Test.nuke_constants }
- let(:mock_val){ mock('mock value') }
+ let(:mock_val){ double('mock value') }
let(:smurf_class) do
class Gorillib::Test::Smurf
include Gorillib::Model
field :name, String