Remove shoulda-matchers gem

#206
This commit is contained in:
Artur Beljajev 2016-10-20 15:15:46 +03:00
parent 60bf329846
commit fe8559dbb0
18 changed files with 0 additions and 52 deletions

View file

@ -136,7 +136,6 @@ group :development, :test do
gem 'poltergeist', '1.6.0' # We are using PhantomJS instead
gem 'phantomjs', '1.9.8.0'
gem 'fabrication', '2.13.2' # Replacement for fixtures
gem 'shoulda-matchers', '2.8.0', require: false # Additional matchers for RSpec
gem 'launchy', '2.4.3' # for opening browser automatically
# helper gems

View file

@ -494,8 +494,6 @@ GEM
selectize-rails (0.12.1)
sexp_processor (4.6.0)
shellany (0.0.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simplecov (0.10.0)
docile (~> 1.1.0)
json (~> 1.8)
@ -648,7 +646,6 @@ DEPENDENCIES
sdoc (= 0.4.1)
select2-rails (= 3.5.9.3)
selectize-rails (= 0.12.1)
shoulda-matchers (= 2.8.0)
simplecov (= 0.10.0)
simpleidn (= 0.0.5)
spring (= 1.3.6)

View file

@ -1,9 +1,6 @@
require 'rails_helper'
describe Account do
it { should belong_to(:registrar) }
it { should have_many(:account_activities) }
context 'with invalid attribute' do
before :all do
@account = Account.new

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe Address do
it { should belong_to(:contact) }
context 'about class' do
it 'should have versioning enabled?' do
Address.paper_trail_enabled_for_model?.should == true

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe ApiUser do
it { should belong_to(:registrar) }
context 'class methods' do
before do
Fabricate(:api_user, identity_code: '')

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe BankStatement do
it { should have_many(:bank_transactions) }
context 'with invalid attribute' do
before :all do
@bank_statement = BankStatement.new

View file

@ -1,9 +1,6 @@
require 'rails_helper'
describe BankTransaction do
it { should belong_to(:bank_statement) }
it { should have_one(:account_activity) }
context 'with invalid attribute' do
before :all do
@bank_transaction = BankTransaction.new

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe Certificate do
it { should belong_to(:api_user) }
context 'with invalid attribute' do
before :all do
@certificate = Certificate.new

View file

@ -5,8 +5,6 @@ describe Dnskey do
Fabricate(:zonefile_setting, origin: 'ee')
end
it { should belong_to(:domain) }
context 'with invalid attribute' do
before :all do
@dnskey = Dnskey.new

View file

@ -9,15 +9,6 @@ describe Domain do
Fabricate(:zonefile_setting, origin: 'com.ee')
end
it { should belong_to(:registrar) }
it { should have_many(:nameservers) }
it { should belong_to(:registrant) }
it { should have_many(:tech_contacts) }
it { should have_many(:admin_contacts) }
it { should have_many(:domain_transfers) }
it { should have_many(:dnskeys) }
it { should have_many(:legal_documents) }
context 'with invalid attribute' do
before :all do
@domain = Domain.new

View file

@ -5,8 +5,6 @@ describe DomainTransfer do
Fabricate(:zonefile_setting, origin: 'ee')
end
it { should belong_to(:domain) }
context 'with invalid attribute' do
before :all do
@domain_transfer = DomainTransfer.new

View file

@ -1,10 +1,6 @@
require 'rails_helper'
describe Invoice do
it { should belong_to(:seller) }
it { should belong_to(:buyer) }
it { should have_many(:invoice_items) }
context 'with invalid attribute' do
before :all do
@invoice = Invoice.new

View file

@ -5,11 +5,6 @@ describe Keyrelay do
Fabricate(:zonefile_setting, origin: 'ee')
end
it { should belong_to(:domain) }
it { should belong_to(:requester) }
it { should belong_to(:accepter) }
it { should have_many(:legal_documents) }
context 'with invalid attribute' do
before :all do
@keyrelay = Keyrelay.new

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe Message do
it { should belong_to(:registrar) }
context 'with invalid attribute' do
before :all do
@mssage = Message.new

View file

@ -5,8 +5,6 @@ describe Nameserver do
Fabricate(:zonefile_setting, origin: 'ee')
end
it { should belong_to(:domain) }
context 'with invalid attribute' do
before :all do
@nameserver = Nameserver.new

View file

@ -1,11 +1,6 @@
require 'rails_helper'
describe Registrar do
it { should have_many(:domains) }
it { should have_many(:api_users) }
it { should have_many(:messages) }
it { should have_many(:white_ips) }
context 'with invalid attribute' do
before :all do
@registrar = Registrar.new

View file

@ -1,8 +1,6 @@
require 'rails_helper'
describe WhiteIp do
it { should belong_to(:registrar) }
context 'with invalid attribute' do
before :all do
@white_ip = WhiteIp.new

View file

@ -3,7 +3,6 @@ ENV['RAILS_ENV'] ||= 'test'
require 'spec_helper'
require File.expand_path('../../config/environment', __FILE__)
require 'rspec/rails'
require 'shoulda/matchers'
require 'capybara/poltergeist'
require 'paper_trail/frameworks/rspec'
PaperTrail.whodunnit = 'autotest'