Skip to content

Commit af21daf

Browse files
committedMay 25, 2023
bump
1 parent 729c044 commit af21daf

File tree

3 files changed

+23
-11
lines changed

3 files changed

+23
-11
lines changed
 

‎Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ gemspec
44
gem 'bump'
55
gem 'ffi', platform: [:mingw]
66
gem 'rake'
7-
gem 'rspec', '~>2'
7+
gem 'rspec'
88
# gem 'dispel', :path => "~/Code/tools/dispel"

‎Gemfile.lock

+15-10
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,25 @@ GEM
1313
bump (0.5.0)
1414
clipboard (1.0.5)
1515
curses (1.4.4)
16-
diff-lcs (1.2.5)
16+
diff-lcs (1.5.0)
1717
dispel (0.0.7)
1818
curses
1919
language_sniffer (1.0.2)
2020
plist (3.1.0)
2121
rake (10.1.1)
22-
rspec (2.14.1)
23-
rspec-core (~> 2.14.0)
24-
rspec-expectations (~> 2.14.0)
25-
rspec-mocks (~> 2.14.0)
26-
rspec-core (2.14.7)
27-
rspec-expectations (2.14.5)
28-
diff-lcs (>= 1.1.3, < 2.0)
29-
rspec-mocks (2.14.6)
22+
rspec (3.12.0)
23+
rspec-core (~> 3.12.0)
24+
rspec-expectations (~> 3.12.0)
25+
rspec-mocks (~> 3.12.0)
26+
rspec-core (3.12.2)
27+
rspec-support (~> 3.12.0)
28+
rspec-expectations (3.12.3)
29+
diff-lcs (>= 1.2.0, < 2.0)
30+
rspec-support (~> 3.12.0)
31+
rspec-mocks (3.12.5)
32+
diff-lcs (>= 1.2.0, < 2.0)
33+
rspec-support (~> 3.12.0)
34+
rspec-support (3.12.0)
3035
textpow (1.3.1)
3136
plist (>= 3.0.1)
3237

@@ -37,7 +42,7 @@ DEPENDENCIES
3742
bump
3843
ffi
3944
rake
40-
rspec (~> 2)
45+
rspec
4146
ruco!
4247

4348
BUNDLED WITH

‎spec/spec_helper.rb

+7
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,10 @@ def self.benchmark
3434
def log(text)
3535
puts "LOG: #{text}"
3636
end
37+
38+
RSpec.configure do |config|
39+
config.expect_with(:rspec) { |c| c.syntax = [:expect, :should] }
40+
config.mock_with :rspec do |mocks|
41+
mocks.syntax = [:should, :receive]
42+
end
43+
end

0 commit comments

Comments
 (0)
Please sign in to comment.