Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,22 @@ GEM
cucumber-messages (> 19, < 27)
cucumber-messages (22.0.0)
cucumber-tag-expressions (6.1.1)
date (3.4.1)
debug (1.11.0)
irb (~> 1.10)
reline (>= 0.3.8)
diff-lcs (1.5.1)
docile (1.4.1)
drb (2.2.1)
erb (5.0.2)
ffi (1.17.1)
i18n (1.14.7)
concurrent-ruby (~> 1.0)
io-console (0.8.1)
irb (1.15.2)
pp (>= 0.6.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.9.1)
language_server-protocol (3.17.0.3)
lint_roller (1.1.0)
Expand All @@ -88,10 +98,21 @@ GEM
parser (3.3.7.0)
ast (~> 2.4.1)
racc
pp (0.6.2)
prettyprint
prettyprint (0.2.0)
psych (5.2.6)
date
stringio
racc (1.8.1)
rainbow (3.1.1)
rake (13.2.1)
rdoc (6.14.2)
erb
psych (>= 4.0.0)
regexp_parser (2.10.0)
reline (0.6.2)
io-console (~> 0.5)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
Expand Down Expand Up @@ -145,6 +166,7 @@ GEM
standard-performance (1.6.0)
lint_roller (~> 1.1)
rubocop-performance (~> 1.23.0)
stringio (3.1.7)
sys-uname (1.3.1)
ffi (~> 1.1)
thor (1.3.2)
Expand All @@ -166,6 +188,7 @@ DEPENDENCIES
appraisal
aruba
cucumber
debug
factory_bot!
mutex_m
rake
Expand Down
1 change: 1 addition & 0 deletions factory_bot.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Gem::Specification.new do |s|
s.add_development_dependency("appraisal")
s.add_development_dependency("aruba")
s.add_development_dependency("cucumber")
s.add_development_dependency("debug") if RUBY_ENGINE == "ruby"
s.add_development_dependency("mutex_m")
s.add_development_dependency("rake")
s.add_development_dependency("rspec")
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/activesupport_instrumentation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def subscribed(callback, *args)
expect(time_to_execute).to be >= 0.1
end

it "builds the correct payload" do
it "builds the correct payload", :slow do
tracked_invocations = {}

callback = ->(_name, _start, _finish, _id, payload) do
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/sequence_setting_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
.to raise_error ArgumentError, /Value cannot be less than: 1000/
end

it "raises an error for unmatched String values" do
it "raises an error for unmatched String values", :slow do
FactoryBot.define do
sequence(:char, "c")
end
Expand All @@ -328,7 +328,7 @@
.to raise_error ArgumentError, /Unable to find 'Jester' in the sequence/
end

it "times out when value cannot be found within timeout period" do
it "times out when value cannot be found within timeout period", :slow do
with_temporary_assignment(FactoryBot, :sequence_setting_timeout, 3) do
FactoryBot.define do
sequence(:test, "a")
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Set timeout when setting sequences
require "debug" if RUBY_ENGINE == "ruby"
require "rspec"
require "rspec/its"

Expand Down