Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit a7b0855

Browse files
sohaibbhattifloehopper
authored andcommitted
Upgrade rspec to latest 2.x version & fix deprecation warnings
1 parent ab3da40 commit a7b0855

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

method_log.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Gem::Specification.new do |s|
2626
s.add_dependency 'trollop'
2727

2828
s.add_development_dependency 'rake'
29-
s.add_development_dependency 'rspec', '~> 2.14.0'
29+
s.add_development_dependency 'rspec', '~> 2.0'
3030
end

spec/commit_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ module MethodLog
6666
repository = Repository.new(repository_path)
6767
commit = repository.commits.to_a.last
6868

69-
expect(commit.contains?(source_file)).to be_true
70-
expect(commit.contains?(another_source_file)).to be_false
69+
expect(commit.contains?(source_file)).to be true
70+
expect(commit.contains?(another_source_file)).to be false
7171
end
7272

7373
it 'makes author available' do

0 commit comments

Comments
 (0)