Skip to content

Commit

Permalink
fix failing auth spec and mikssing partial error
Browse files Browse the repository at this point in the history
  • Loading branch information
Florence-Njeri committed Feb 1, 2023
1 parent 162a7fe commit 878daf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<%= render 'layouts/head' %>
<% if flash[:user_signup] %>
<%= render 'layouts/adwords_signup_conversion.html.erb' %>
<%= render 'layouts/adwords_signup_conversion' %>
<% end %>

<body lang="en-GB">
Expand Down
2 changes: 1 addition & 1 deletion spec/models/authentication_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

it 'must have an associated user' do
auth.user_id = nil
expect { auth.save }.to raise_error ActiveRecord::StatementInvalid
expect { auth.save! }.to raise_error ActiveRecord::RecordInvalid
end

it 'must have an associated provider' do
Expand Down

0 comments on commit 878daf8

Please sign in to comment.