diff options
| author | mo khan <mo@mokhan.ca> | 2014-10-16 20:13:58 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2014-10-16 20:13:58 -0600 |
| commit | d124c46292aaeb2e300d677915be2df5c48d1b9b (patch) | |
| tree | 17998c038e2296089b89a0455a7c185e0097ccef /spec/controllers | |
| parent | 7a941ff842d54d1f5e39f7751ec2bb9ef695eaa4 (diff) | |
create a creations repository.
Diffstat (limited to 'spec/controllers')
| -rw-r--r-- | spec/controllers/admin/users_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/admin/users_controller_spec.rb b/spec/controllers/admin/users_controller_spec.rb index bc94346d..7844d3f6 100644 --- a/spec/controllers/admin/users_controller_spec.rb +++ b/spec/controllers/admin/users_controller_spec.rb @@ -19,7 +19,7 @@ module Admin it "returns users that match the search results" do matching_user = double repository = double - controller.stub(:users_repository).and_return(repository) + controller.stub(:repository).and_return(repository) repository.stub(:search_by).with('mo').and_return([matching_user]) get :index, q: 'mo' expect(assigns(:users)).to include(matching_user) |
