rspeckled 0.0.54 → 0.0.55
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rspeckled/helpers/responses.rb +1 -3
- data/lib/rspeckled/plugins/authentication.rb +5 -5
- data/lib/rspeckled/plugins/awesome_print.rb +67 -75
- data/lib/rspeckled/plugins/bullet.rb +11 -20
- data/lib/rspeckled/plugins/capybara.rb +109 -120
- data/lib/rspeckled/plugins/carrier_wave.rb +18 -26
- data/lib/rspeckled/plugins/database_cleaner.rb +23 -37
- data/lib/rspeckled/plugins/devise.rb +9 -18
- data/lib/rspeckled/plugins/dox.rb +35 -43
- data/lib/rspeckled/plugins/elasticsearch.rb +17 -24
- data/lib/rspeckled/plugins/email.rb +4 -13
- data/lib/rspeckled/plugins/factory_bot.rb +13 -22
- data/lib/rspeckled/plugins/fakeredis.rb +1 -4
- data/lib/rspeckled/plugins/faraday.rb +49 -55
- data/lib/rspeckled/plugins/foreign_keys.rb +0 -4
- data/lib/rspeckled/plugins/garbage_collection.rb +31 -32
- data/lib/rspeckled/plugins/mongoid.rb +3 -10
- data/lib/rspeckled/plugins/omniauth.rb +30 -38
- data/lib/rspeckled/plugins/rails/strong_parameters.rb +8 -10
- data/lib/rspeckled/plugins/recaptcha.rb +2 -11
- data/lib/rspeckled/plugins/referehencible.rb +10 -19
- data/lib/rspeckled/plugins/request.rb +0 -4
- data/lib/rspeckled/plugins/shoulda.rb +20 -29
- data/lib/rspeckled/plugins/sidekiq.rb +21 -24
- data/lib/rspeckled/plugins/singleton.rb +0 -4
- data/lib/rspeckled/plugins/stripe.rb +17 -26
- data/lib/rspeckled/plugins/test_after_commit.rb +1 -6
- data/lib/rspeckled/plugins/timecop.rb +21 -28
- data/lib/rspeckled/plugins/vcr.rb +23 -37
- data/lib/rspeckled/plugins/webmock.rb +11 -18
- data/lib/rspeckled/plugins/wisper.rb +4 -12
- data/lib/rspeckled/plugins.rb +77 -31
- data/lib/rspeckled/spec_helpers/rspeckled.rb +0 -1
- data/lib/rspeckled/support.rb +13 -5
- data/lib/rspeckled/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +26 -24
- metadata.gz.sig +0 -0
- data/lib/rspeckled/plugins/code_climate.rb +0 -10
- data/lib/rspeckled/plugins/pretty_print.rb +0 -3
@@ -1,45 +1,36 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
begin
|
8
|
-
require 'shoulda-matchers'
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.include(Shoulda::Matchers::ActiveModel, :type => :model)
|
5
|
+
config.include(Shoulda::Matchers::ActiveRecord, :type => :model)
|
6
|
+
end
|
9
7
|
|
10
|
-
|
11
|
-
|
12
|
-
|
8
|
+
Shoulda::Matchers.configure do |config|
|
9
|
+
config.integrate do |with|
|
10
|
+
with.test_framework :rspec
|
13
11
|
end
|
12
|
+
end
|
14
13
|
|
14
|
+
if defined? ActiveRecord
|
15
15
|
Shoulda::Matchers.configure do |config|
|
16
16
|
config.integrate do |with|
|
17
|
-
with.
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
if defined? ActiveRecord
|
22
|
-
Shoulda::Matchers.configure do |config|
|
23
|
-
config.integrate do |with|
|
24
|
-
with.library :active_record
|
25
|
-
end
|
17
|
+
with.library :active_record
|
26
18
|
end
|
27
19
|
end
|
20
|
+
end
|
28
21
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
end
|
22
|
+
if defined? ActiveModel
|
23
|
+
Shoulda::Matchers.configure do |config|
|
24
|
+
config.integrate do |with|
|
25
|
+
with.library :active_model
|
34
26
|
end
|
35
27
|
end
|
28
|
+
end
|
36
29
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
end
|
30
|
+
if defined? ActionController
|
31
|
+
Shoulda::Matchers.configure do |config|
|
32
|
+
config.integrate do |with|
|
33
|
+
with.library :action_controller
|
42
34
|
end
|
43
35
|
end
|
44
|
-
rescue LoadError
|
45
36
|
end
|
@@ -1,34 +1,31 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
require 'sidekiq/testing'
|
3
|
+
require 'sidekiq/testing'
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
end
|
16
|
-
end
|
17
|
-
|
18
|
-
if example.metadata[:queue] == :stub
|
19
|
-
Sidekiq::Testing.fake!
|
20
|
-
elsif example.metadata[:queue] == :immediately_execute
|
21
|
-
Sidekiq::Testing.inline!
|
22
|
-
elsif example.metadata[:type] == :feature
|
23
|
-
Sidekiq::Testing.inline!
|
24
|
-
else
|
25
|
-
Sidekiq::Testing.fake!
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.before(:each, :queue => lambda { |v| !!v }) do |example|
|
7
|
+
# Clears out the jobs for tests using the fake testing
|
8
|
+
Sidekiq::Worker.clear_all
|
9
|
+
Sidekiq::Queues.clear_all
|
10
|
+
Sidekiq.redis { |r| r.__send__(:instance_variable_get, :@redis).flushdb }
|
11
|
+
Sidekiq.redis do |client|
|
12
|
+
client.keys.each do |key|
|
13
|
+
client.del(key)
|
26
14
|
end
|
27
15
|
end
|
28
16
|
|
29
|
-
|
17
|
+
if example.metadata[:queue] == :stub
|
18
|
+
Sidekiq::Testing.fake!
|
19
|
+
elsif example.metadata[:queue] == :immediately_execute
|
20
|
+
Sidekiq::Testing.inline!
|
21
|
+
elsif example.metadata[:type] == :feature
|
22
|
+
Sidekiq::Testing.inline!
|
23
|
+
else
|
30
24
|
Sidekiq::Testing.fake!
|
31
25
|
end
|
32
26
|
end
|
33
|
-
|
27
|
+
|
28
|
+
config.after(:each, :queue => lambda { |v| !!v }) do |_example|
|
29
|
+
Sidekiq::Testing.fake!
|
30
|
+
end
|
34
31
|
end
|
@@ -1,9 +1,5 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
##############################################################################
|
4
|
-
# Singleton Plugin
|
5
|
-
##############################################################################
|
6
|
-
|
7
3
|
RSpec.configure do |config|
|
8
4
|
config.around(:each, :singletons => lambda { |v| !!v }) do |example|
|
9
5
|
require 'singleton'
|
@@ -1,35 +1,26 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
3
|
+
RSpec.configure do |config|
|
4
|
+
config.after(:each, :stripe => true) do
|
5
|
+
if defined?(VCR)
|
6
|
+
vcr_turned_on = VCR.turned_on?
|
7
|
+
VCR.turn_off!
|
8
|
+
end
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
VCR.turn_off!
|
15
|
-
end
|
10
|
+
if defined?(WebMock)
|
11
|
+
webmock_net_connect = WebMock.net_connect_allowed?
|
12
|
+
WebMock.allow_net_connect!
|
13
|
+
end
|
16
14
|
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
begin
|
16
|
+
Stripe::Plan.all(:count => 100).each do |plan|
|
17
|
+
plan.delete if plan.id.match(/test/i) || plan.name.match(/test/i)
|
20
18
|
end
|
21
19
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
Stripe::Customer.all(:count => 100).each(&:delete)
|
28
|
-
ensure
|
29
|
-
VCR.turn_on! if defined?(VCR) && vcr_turned_on
|
30
|
-
WebMock.allow_net_connect! if defined?(WebMock) && webmock_net_connect
|
31
|
-
end
|
20
|
+
Stripe::Customer.all(:count => 100).each(&:delete)
|
21
|
+
ensure
|
22
|
+
VCR.turn_on! if defined?(VCR) && vcr_turned_on
|
23
|
+
WebMock.allow_net_connect! if defined?(WebMock) && webmock_net_connect
|
32
24
|
end
|
33
25
|
end
|
34
|
-
rescue LoadError
|
35
26
|
end
|
@@ -1,37 +1,30 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
# Timecop Plugin
|
5
|
-
##############################################################################
|
3
|
+
require 'timecop'
|
6
4
|
|
7
|
-
|
8
|
-
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.around(:each, :time_mock => lambda { |v| !!v }) do |example|
|
7
|
+
options = example.metadata[:time_mock]
|
8
|
+
options = case options
|
9
|
+
when Time
|
10
|
+
{ :time => options }
|
11
|
+
when FalseClass
|
12
|
+
false
|
13
|
+
when TrueClass
|
14
|
+
{}
|
15
|
+
end
|
9
16
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
options = case options
|
14
|
-
when Time
|
15
|
-
{ :time => options }
|
16
|
-
when FalseClass
|
17
|
-
false
|
18
|
-
when TrueClass
|
19
|
-
{}
|
20
|
-
end
|
21
|
-
|
22
|
-
if options
|
23
|
-
mock_type = options.fetch(:type, :freeze)
|
24
|
-
time = options.fetch(:time, Time.utc(2012, 7, 26, 18, 0, 0))
|
25
|
-
|
26
|
-
Timecop.public_send(mock_type, time)
|
27
|
-
else
|
28
|
-
Timecop.return
|
29
|
-
end
|
30
|
-
|
31
|
-
example.run
|
17
|
+
if options
|
18
|
+
mock_type = options.fetch(:type, :freeze)
|
19
|
+
time = options.fetch(:time, Time.utc(2012, 7, 26, 18, 0, 0))
|
32
20
|
|
21
|
+
Timecop.public_send(mock_type, time)
|
22
|
+
else
|
33
23
|
Timecop.return
|
34
24
|
end
|
25
|
+
|
26
|
+
example.run
|
27
|
+
|
28
|
+
Timecop.return
|
35
29
|
end
|
36
|
-
rescue LoadError
|
37
30
|
end
|
@@ -1,52 +1,38 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
# VCR Plugin
|
5
|
-
##############################################################################
|
3
|
+
Dir[File.expand_path('../vcr_matchers/**/*.rb', __dir__)].each { |f| require f }
|
6
4
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
begin
|
12
|
-
require 'webmock'
|
13
|
-
|
14
|
-
VCR.configure do |config|
|
15
|
-
config.hook_into :webmock
|
16
|
-
end
|
17
|
-
rescue LoadError
|
5
|
+
if defined?(::WebMock)
|
6
|
+
VCR.configure do |config|
|
7
|
+
config.hook_into :webmock
|
18
8
|
end
|
9
|
+
end
|
19
10
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
VCR.configure do |config|
|
24
|
-
config.hook_into :faraday
|
25
|
-
end
|
26
|
-
rescue LoadError
|
11
|
+
if defined?(::Faraday)
|
12
|
+
VCR.configure do |config|
|
13
|
+
config.hook_into :faraday
|
27
14
|
end
|
15
|
+
end
|
28
16
|
|
29
|
-
|
30
|
-
|
31
|
-
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.around(:each, :vcr => lambda { |v| !!v }) do |example|
|
19
|
+
VCR.configuration.allow_http_connections_when_no_cassette = false
|
32
20
|
|
33
|
-
|
21
|
+
example.run
|
34
22
|
|
35
|
-
|
36
|
-
end
|
23
|
+
VCR.configuration.allow_http_connections_when_no_cassette = true
|
37
24
|
end
|
25
|
+
end
|
38
26
|
|
39
|
-
|
40
|
-
|
27
|
+
VCR.configure do |config|
|
28
|
+
config.ignore_hosts 'lvh.me', 'localhost', '127.0.0.1', '0.0.0.0' # rubocop:disable Style/IpAddresses
|
41
29
|
|
42
|
-
|
43
|
-
|
30
|
+
config.cassette_library_dir = File.expand_path('./tmp/vcr_cassettes')
|
31
|
+
config.allow_http_connections_when_no_cassette = true
|
44
32
|
|
45
|
-
|
46
|
-
|
47
|
-
|
33
|
+
# So that the Code Climate coverage reporter (if installed) can send reports
|
34
|
+
# even though VCR is enabled.
|
35
|
+
config.ignore_hosts 'codeclimate.com'
|
48
36
|
|
49
|
-
|
50
|
-
end
|
51
|
-
rescue LoadError
|
37
|
+
config.configure_rspec_metadata!
|
52
38
|
end
|
@@ -1,26 +1,19 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
# WebMock Plugin
|
5
|
-
##############################################################################
|
3
|
+
require 'webmock/rspec'
|
6
4
|
|
7
|
-
|
8
|
-
|
5
|
+
RSpec.configure do |config|
|
6
|
+
config.around(:each, :webmock => lambda { |v| !!v }) do |example|
|
7
|
+
options = example.metadata[:web_mock]
|
8
|
+
options = case options
|
9
|
+
when TrueClass
|
10
|
+
{ :allow_localhost => true }
|
11
|
+
end
|
9
12
|
|
10
|
-
|
11
|
-
config.around(:each, :web_mock => lambda { |v| !!v }) do |example|
|
12
|
-
options = example.metadata[:web_mock]
|
13
|
-
options = case options
|
14
|
-
when TrueClass
|
15
|
-
{ :allow_localhost => true }
|
16
|
-
end
|
13
|
+
WebMock.disable_net_connect!(options)
|
17
14
|
|
18
|
-
|
15
|
+
example.run
|
19
16
|
|
20
|
-
|
21
|
-
|
22
|
-
WebMock.allow_net_connect!
|
23
|
-
end
|
17
|
+
WebMock.allow_net_connect!
|
24
18
|
end
|
25
|
-
rescue LoadError
|
26
19
|
end
|
@@ -1,16 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
##############################################################################
|
3
|
+
require 'wisper/rspec/matchers'
|
4
|
+
require 'wisper/rspec/stub_wisper_publisher'
|
6
5
|
|
7
|
-
|
8
|
-
|
9
|
-
require 'wisper/rspec/matchers'
|
10
|
-
require 'wisper/rspec/stub_wisper_publisher'
|
11
|
-
|
12
|
-
RSpec.configure do |config|
|
13
|
-
config.include(Wisper::RSpec::BroadcastMatcher)
|
14
|
-
end
|
15
|
-
rescue LoadError
|
6
|
+
RSpec.configure do |config|
|
7
|
+
config.include(Wisper::RSpec::BroadcastMatcher)
|
16
8
|
end
|
data/lib/rspeckled/plugins.rb
CHANGED
@@ -1,35 +1,81 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require '
|
4
|
-
|
5
|
-
require 'rspeckled/plugins/awesome_print'
|
6
|
-
require 'rspeckled/plugins/bullet'
|
7
|
-
require 'rspeckled/plugins/carrier_wave'
|
8
|
-
require 'rspeckled/plugins/capybara'
|
9
|
-
require 'rspeckled/plugins/database_cleaner'
|
10
|
-
require 'rspeckled/plugins/devise'
|
11
|
-
require 'rspeckled/plugins/dox'
|
12
|
-
require 'rspeckled/plugins/elasticsearch'
|
13
|
-
require 'rspeckled/plugins/email'
|
14
|
-
require 'rspeckled/plugins/factory_bot'
|
3
|
+
require 'pp'
|
4
|
+
|
15
5
|
require 'rspeckled/plugins/garbage_collection'
|
16
|
-
require 'rspeckled/plugins/fakeredis'
|
17
|
-
require 'rspeckled/plugins/faraday'
|
18
|
-
require 'rspeckled/plugins/foreign_keys'
|
19
|
-
require 'rspeckled/plugins/omniauth'
|
20
|
-
require 'rspeckled/plugins/mocks'
|
21
|
-
require 'rspeckled/plugins/mongoid'
|
22
|
-
require 'rspeckled/plugins/pretty_print'
|
23
|
-
require 'rspeckled/plugins/rails/engine'
|
24
|
-
require 'rspeckled/plugins/rails/strong_parameters'
|
25
|
-
require 'rspeckled/plugins/recaptcha'
|
26
|
-
require 'rspeckled/plugins/referehencible'
|
27
6
|
require 'rspeckled/plugins/request'
|
28
|
-
|
29
|
-
require 'rspeckled/plugins/
|
30
|
-
require 'rspeckled/plugins/
|
31
|
-
require 'rspeckled/plugins/
|
32
|
-
require 'rspeckled/plugins/
|
33
|
-
require 'rspeckled/plugins/
|
34
|
-
require 'rspeckled/plugins/
|
35
|
-
require 'rspeckled/plugins/
|
7
|
+
|
8
|
+
require 'rspeckled/plugins/awesome_print' if defined?(::AwesomePrint)
|
9
|
+
require 'rspeckled/plugins/bullet' if defined?(::Bullet)
|
10
|
+
require 'rspeckled/plugins/capybara' if defined?(::Capybara)
|
11
|
+
require 'rspeckled/plugins/database_cleaner' if defined?(::DatabaseCleaner)
|
12
|
+
require 'rspeckled/plugins/devise' if defined?(::Devise)
|
13
|
+
require 'rspeckled/plugins/factory_bot' if defined?(::FactoryBot)
|
14
|
+
require 'rspeckled/plugins/fakeredis' if defined?(::FakeRedis)
|
15
|
+
require 'rspeckled/plugins/faraday' if defined?(::Faraday::Response::Middleware) &&
|
16
|
+
defined?(::Faraday::Response)
|
17
|
+
require 'rspeckled/plugins/mongoid' if defined?(::Mongoid)
|
18
|
+
require 'rspeckled/plugins/omniauth' if defined?(::OmniAuth)
|
19
|
+
require 'rspeckled/plugins/rails/strong_parameters' if defined?(::ActionController::Parameters)
|
20
|
+
require 'rspeckled/plugins/recaptcha' if defined?(::Recaptcha)
|
21
|
+
require 'rspeckled/plugins/shoulda' if defined?(::Shoulda::Matchers)
|
22
|
+
require 'rspeckled/plugins/test_after_commit' if defined?(::TestAfterCommit)
|
23
|
+
require 'rspeckled/plugins/wisper' if defined?(::Wisper)
|
24
|
+
|
25
|
+
RSpec.configure do |config|
|
26
|
+
config.when_first_matching_example_defined(:authentication) do
|
27
|
+
require 'rspeckled/plugins/authentication'
|
28
|
+
end
|
29
|
+
|
30
|
+
config.when_first_matching_example_defined(:disable_foreign_keys) do
|
31
|
+
require 'rspeckled/plugins/foreign_keys'
|
32
|
+
end
|
33
|
+
|
34
|
+
config.when_first_matching_example_defined(:dox) do
|
35
|
+
require 'rspeckled/plugins/dox'
|
36
|
+
end
|
37
|
+
|
38
|
+
config.when_first_matching_example_defined(:elasticsearch) do
|
39
|
+
require 'rspeckled/plugins/elasticsearch'
|
40
|
+
end
|
41
|
+
|
42
|
+
config.when_first_matching_example_defined(:email) do
|
43
|
+
require 'rspeckled/plugins/email'
|
44
|
+
end
|
45
|
+
|
46
|
+
config.when_first_matching_example_defined(:file_attachment) do
|
47
|
+
require 'rspeckled/plugins/carrier_wave'
|
48
|
+
end
|
49
|
+
|
50
|
+
config.when_first_matching_example_defined(:mock_refs) do
|
51
|
+
require 'rspeckled/plugins/referehencible'
|
52
|
+
end
|
53
|
+
|
54
|
+
config.when_first_matching_example_defined(:queue) do
|
55
|
+
require 'rspeckled/plugins/sidekiq'
|
56
|
+
end
|
57
|
+
|
58
|
+
config.when_first_matching_example_defined(:singletons) do
|
59
|
+
require 'rspeckled/plugins/singleton'
|
60
|
+
end
|
61
|
+
|
62
|
+
config.when_first_matching_example_defined(:stripe) do
|
63
|
+
require 'rspeckled/plugins/stripe'
|
64
|
+
end
|
65
|
+
|
66
|
+
config.when_first_matching_example_defined(:time_mock) do
|
67
|
+
require 'rspeckled/plugins/timecop'
|
68
|
+
end
|
69
|
+
|
70
|
+
config.when_first_matching_example_defined(:vcr) do
|
71
|
+
require 'rspeckled/plugins/vcr'
|
72
|
+
end
|
73
|
+
|
74
|
+
config.when_first_matching_example_defined(:webmock) do
|
75
|
+
require 'rspeckled/plugins/webmock'
|
76
|
+
end
|
77
|
+
|
78
|
+
config.when_first_matching_example_defined(:verify) do
|
79
|
+
require 'rspeckled/plugins/mocks'
|
80
|
+
end
|
81
|
+
end
|
data/lib/rspeckled/support.rb
CHANGED
@@ -7,18 +7,27 @@
|
|
7
7
|
abort('DATABASE_URL environment variable is set') if ENV['DATABASE_URL']
|
8
8
|
|
9
9
|
RSpec.configure do |config|
|
10
|
+
##############################################################################
|
11
|
+
# RSPEC 4 PREP
|
12
|
+
##############################################################################
|
13
|
+
|
14
|
+
config.shared_context_metadata_behavior = :apply_to_host_groups
|
15
|
+
|
10
16
|
##############################################################################
|
11
17
|
# RAILS
|
12
18
|
##############################################################################
|
13
19
|
|
14
|
-
if defined?
|
20
|
+
if defined?(RSpec::Rails)
|
15
21
|
require 'rspeckled/plugins/rails/engine'
|
16
22
|
|
17
23
|
config.infer_base_class_for_anonymous_controllers = true
|
24
|
+
config.use_transactional_fixtures = true
|
18
25
|
|
19
26
|
config.infer_spec_type_from_file_location! if config.respond_to?(:infer_spec_type_from_file_location!)
|
20
27
|
|
21
28
|
if Pathname.pwd.join('spec', 'dummy', 'config', 'environment.rb').exist?
|
29
|
+
require 'rspeckled/plugins/rails/engine'
|
30
|
+
|
22
31
|
config.include Rspeckled::NamespacedEngineControllerRouteFix, :type => :controller
|
23
32
|
end
|
24
33
|
end
|
@@ -79,7 +88,7 @@ RSpec.configure do |config|
|
|
79
88
|
config.alias_example_to :pit, :pending => true
|
80
89
|
|
81
90
|
# Focused Specs
|
82
|
-
config.
|
91
|
+
config.filter_run_when_matching :focused
|
83
92
|
config.alias_example_to :fit, :focused => true
|
84
93
|
|
85
94
|
# Focus and Force Selenium
|
@@ -95,9 +104,8 @@ RSpec.configure do |config|
|
|
95
104
|
:debug => true,
|
96
105
|
:driver => :selenium
|
97
106
|
|
98
|
-
config.order
|
99
|
-
config.
|
100
|
-
config.silence_filter_announcements = true
|
107
|
+
config.order = 'random'
|
108
|
+
config.silence_filter_announcements = true
|
101
109
|
|
102
110
|
# Make all randomization deterministic based on the random run order seed
|
103
111
|
Kernel.srand config.seed
|
data/lib/rspeckled/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspeckled
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.55
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thegranddesign
|
@@ -10,28 +10,32 @@ bindir: bin
|
|
10
10
|
cert_chain:
|
11
11
|
- |
|
12
12
|
-----BEGIN CERTIFICATE-----
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
13
|
+
MIIEcjCCAtqgAwIBAgIBATANBgkqhkiG9w0BAQsFADAxMS8wLQYDVQQDDCZydWJ5
|
14
|
+
Z2Vtcy9EQz1saXZpbmdoaWdob250aGVibG9nL0RDPWNvbTAeFw0xODA4MDMyMTQ1
|
15
|
+
MjBaFw0xOTA4MDMyMTQ1MjBaMDExLzAtBgNVBAMMJnJ1YnlnZW1zL0RDPWxpdmlu
|
16
|
+
Z2hpZ2hvbnRoZWJsb2cvREM9Y29tMIIBojANBgkqhkiG9w0BAQEFAAOCAY8AMIIB
|
17
|
+
igKCAYEAvFj8ecqDt5dzEJzd+kTn2uMKXRRgJdhnXZ78C2+IHyxW1SAkWJ3Z5IYG
|
18
|
+
CDSisIdomG1GwJOuuXITMI11UIlEkCsjyMeUpEiO/PvuuealXsg3leTOHkLYCmvm
|
19
|
+
1yscVv5NpTX7Q0gLZUxGERDK3k62AjZB0eMwfbHAcL9ZOaru+pZriepqS+xAghXO
|
20
|
+
W+Iqqspg93XDKntbY5MHszNqW65Jyo1M53pOEmwXFttFJlOjDSz6WD2/uuuKWU7y
|
21
|
+
b1MFDfVjjclhJwF26acaJGUr+yS6YJNAXLWPaEhPABMGNlz86+R0IrIy4IZOIVdH
|
22
|
+
TBze7OtD5c6o1iFeLc8NyTIGo2o2nAhTMW/l9rz7hb16dCRNMmIzJNnKLuh6NzSx
|
23
|
+
8nHGpehSEqaVB+sdav/bng6zv6YJUII0pVCfa2NWZZXZGj+S20BzNgoK6SXrO9wt
|
24
|
+
ygKYnjP4X6ySdcuAPYyPoi/MZdZgOS+8r1VCxvLLld+Jqste8ooXrY+B1Fdxy5vQ
|
25
|
+
Br5WXCgjAgMBAAGjgZQwgZEwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0O
|
26
|
+
BBYEFN5ncvipiAOElX1scE7OOMsMPQgjMCsGA1UdEQQkMCKBIHJ1YnlnZW1zQGxp
|
27
|
+
dmluZ2hpZ2hvbnRoZWJsb2cuY29tMCsGA1UdEgQkMCKBIHJ1YnlnZW1zQGxpdmlu
|
28
|
+
Z2hpZ2hvbnRoZWJsb2cuY29tMA0GCSqGSIb3DQEBCwUAA4IBgQCWFC+AfDVJ8HD/
|
29
|
+
OZ6kB1knRdi9/OxnOmtdzZ0c6JRnmQl2MDMVICHsJ3+TRobSC+/7bCGu+Q2/smo6
|
30
|
+
oruQmFTxiJ6aJ0Tzo/7T3qrlfqr2ApnJfcNPQ3r6u3N0x38l7ncqA85cy3T2bV09
|
31
|
+
1GmsuX0P117b5eHYhXzNowFK16bavxb1LBMz85f1pILKrWOB853E/eCftr5r3EX7
|
32
|
+
d+RPbPIqss99EcQtcqI1e8t/LTX4pFs+SGInFhfl1kiOhks7/Et3rYWLuSe8+/Pf
|
33
|
+
Z3/k8xnmRTv9Tx71tmcalnOPP45hePx7JE1jJr6An8XWpV7b18Mb9Y3s6a4VXvB0
|
34
|
+
Sm1kq49mzDrFMIqVF68NYWuxzGgc7BZnqKf1s4XEvxdHiipEsS5Bxj/hHr+FT4oe
|
35
|
+
eUgMp+qKjyM1NGj/222soSUpWqOE16L23vv8sWIbMIADdR8dephQ6jMovYylUmE5
|
36
|
+
KHp+JJQviSN0i4z8gVL2zloo+xZf791LiJH8Kcjpx43jhg0WdR4=
|
33
37
|
-----END CERTIFICATE-----
|
34
|
-
date: 2018-
|
38
|
+
date: 2018-08-04 00:00:00.000000000 Z
|
35
39
|
dependencies:
|
36
40
|
- !ruby/object:Gem::Dependency
|
37
41
|
name: rspec
|
@@ -116,7 +120,6 @@ files:
|
|
116
120
|
- lib/rspeckled/plugins/bullet.rb
|
117
121
|
- lib/rspeckled/plugins/capybara.rb
|
118
122
|
- lib/rspeckled/plugins/carrier_wave.rb
|
119
|
-
- lib/rspeckled/plugins/code_climate.rb
|
120
123
|
- lib/rspeckled/plugins/database_cleaner.rb
|
121
124
|
- lib/rspeckled/plugins/devise.rb
|
122
125
|
- lib/rspeckled/plugins/dox.rb
|
@@ -130,7 +133,6 @@ files:
|
|
130
133
|
- lib/rspeckled/plugins/mocks.rb
|
131
134
|
- lib/rspeckled/plugins/mongoid.rb
|
132
135
|
- lib/rspeckled/plugins/omniauth.rb
|
133
|
-
- lib/rspeckled/plugins/pretty_print.rb
|
134
136
|
- lib/rspeckled/plugins/rails/engine.rb
|
135
137
|
- lib/rspeckled/plugins/rails/strong_parameters.rb
|
136
138
|
- lib/rspeckled/plugins/recaptcha.rb
|
metadata.gz.sig
CHANGED
Binary file
|