spec/tasks/user_tasks_spec.rb in volt-0.9.5 vs spec/tasks/user_tasks_spec.rb in volt-0.9.6.pre1
- old
+ new
@@ -7,10 +7,10 @@
let(:fake_users_collection) do
double('FakeUsersCollection', where: fake_response)
end
- let(:fake_store) { double('FakeStore', :_users => fake_users_collection) }
+ let(:fake_store) { double('FakeStore', _users: fake_users_collection) }
let(:login_info) { { 'login' => 'Marty', 'password' => 'McFly' } }
before do
allow(volt_app).to receive(:store).and_return fake_store