diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-17 03:09:38 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-20 22:27:41 +0300 |
commit | fe84d3e1017132790b4b4206562857eccafe4a10 (patch) | |
tree | 9f95f8c0a4336ed7d081f76cede8fcdcf568e58c /spec | |
parent | 1ef3c83a0a6fccecc4336812e8ef8e0b817d0c57 (diff) |
Upgrade to rails 6.1
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/application_helper_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/application_helper_spec.rb b/spec/helpers/application_helper_spec.rb index feb94673c..bf9f1d10f 100644 --- a/spec/helpers/application_helper_spec.rb +++ b/spec/helpers/application_helper_spec.rb @@ -48,9 +48,9 @@ describe ApplicationHelper, :type => :helper do end it "returns false if the service is already connected" do - @current_user.services << FactoryGirl.build(:service, provider: "service") - expect(AppConfig).to receive(:show_service?).with("service", alice).and_return(true) - expect(service_unconnected?("service")).to be false + @current_user.services << FactoryGirl.build(:service) + expect(AppConfig).to receive(:show_service?).with("twitter", alice).and_return(true) + expect(service_unconnected?("twitter")).to be false end it "returns false if the the service shouldn't be shown" do |