From ff60d197267754983bfad65ae1e96a2f63182e40 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 30 Nov 2018 12:00:03 +0500 Subject: [PATCH] Remove unnecessary configuration --- spec/helpers/passports_helper_spec.rb | 2 +- spec/helpers/users_helper_spec.rb | 2 +- spec/models/membership_application_spec.rb | 2 +- spec/models/passport_spec.rb | 2 +- spec/models/role_spec.rb | 2 +- spec/models/telegram_bot_spec.rb | 2 +- spec/models/user_spec.rb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/spec/helpers/passports_helper_spec.rb b/spec/helpers/passports_helper_spec.rb index d8a5cd4..02dfb9c 100644 --- a/spec/helpers/passports_helper_spec.rb +++ b/spec/helpers/passports_helper_spec.rb @@ -2,6 +2,6 @@ require 'rails_helper' -RSpec.describe PassportsHelper, type: :helper do +RSpec.describe PassportsHelper do pending "add some examples to (or delete) #{__FILE__}" end diff --git a/spec/helpers/users_helper_spec.rb b/spec/helpers/users_helper_spec.rb index baa2bc5..50152d3 100644 --- a/spec/helpers/users_helper_spec.rb +++ b/spec/helpers/users_helper_spec.rb @@ -2,6 +2,6 @@ require 'rails_helper' -RSpec.describe UsersHelper, type: :helper do +RSpec.describe UsersHelper do pending "add some examples to (or delete) #{__FILE__}" end diff --git a/spec/models/membership_application_spec.rb b/spec/models/membership_application_spec.rb index 7d06c26..2f368b5 100644 --- a/spec/models/membership_application_spec.rb +++ b/spec/models/membership_application_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe MembershipApplication, type: :model do +RSpec.describe MembershipApplication do subject { create :membership_application } it { is_expected.to validate_presence_of :first_name } diff --git a/spec/models/passport_spec.rb b/spec/models/passport_spec.rb index cdfe41f..4546c77 100644 --- a/spec/models/passport_spec.rb +++ b/spec/models/passport_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe Passport, type: :model do +RSpec.describe Passport do subject { create :passport } it { is_expected.to validate_presence_of :surname } diff --git a/spec/models/role_spec.rb b/spec/models/role_spec.rb index 2b63797..6e57412 100644 --- a/spec/models/role_spec.rb +++ b/spec/models/role_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe Role, type: :model do +RSpec.describe Role do subject { create :role } pending "add some examples to (or delete) #{__FILE__}" diff --git a/spec/models/telegram_bot_spec.rb b/spec/models/telegram_bot_spec.rb index 97f33a5..7ffd56a 100644 --- a/spec/models/telegram_bot_spec.rb +++ b/spec/models/telegram_bot_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe TelegramBot, type: :model do +RSpec.describe TelegramBot do subject { create :telegram_bot } it { is_expected.to validate_presence_of :secret } diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 14f98b4..c071b78 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -2,7 +2,7 @@ require 'rails_helper' -RSpec.describe User, type: :model do +RSpec.describe User do subject { create :user } pending "add some examples to (or delete) #{__FILE__}"