Skip to content

Commit 6004928

Browse files
committed
Run a bit more code through specs
1 parent c2f2d32 commit 6004928

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

spec/omniauth/identity/models/active_record_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class TestIdentity < OmniAuth::Identity::Models::ActiveRecord; end
1414
columns: OmniAuth::Identity::Model::SCHEMA_ATTRIBUTES | %w[provider password_digest],
1515
connection_params: { adapter: 'sqlite3', encoding: 'utf8', database: ':memory:' }
1616
) do
17+
auth_key :email
1718
def flower
1819
'🌸'
1920
end

spec/omniauth/identity/models/sequel_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
before do
1919
sequel_test_identity = Class.new(Sequel::Model(:sequel_test_identities)) do
2020
include ::OmniAuth::Identity::Models::Sequel
21+
auth_key :email
2122
end
2223
stub_const('SequelTestIdentity', sequel_test_identity)
2324
end

spec/omniauth/strategies/identity_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
columns: OmniAuth::Identity::Model::SCHEMA_ATTRIBUTES | %w[provider password_digest],
1818
connection_params: { adapter: 'sqlite3', encoding: 'utf8', database: ':memory:' }
1919
) do
20+
auth_key :email
2021
def balloon
2122
'🎈'
2223
end

0 commit comments

Comments
 (0)