Skip to content

Commit

Permalink
Fixes weirdness with paths to gemspecs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Fedorov committed Aug 18, 2014
1 parent 8b84ead commit bdc62d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
1 change: 1 addition & 0 deletions features/step_definitions/steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
def init
`mkdir -p #{DUMMY_FOLDER}`
`cp -r gemfiles #{DUMMY_FOLDER}`
`cp *.gemspec #{DUMMY_FOLDER}`
`cp -r lib #{DUMMY_FOLDER}`
end

Expand Down
6 changes: 1 addition & 5 deletions gemfiles/rspec-2
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in rspec-json_expectations.gemspec
if File.exist?(`ls *.gemspec`.strip)
gemspec path: '..'
else
gemspec path: '../..'
end
gemspec path: '..'

group :test do
gem 'cucumber'
Expand Down
8 changes: 1 addition & 7 deletions gemfiles/rspec-3
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in rspec-json_expectations.gemspec
if File.exist?(`ls *.gemspec`.strip)
path = '..'
else
path = '../..'
end

gemspec path: path
gemspec path: '..'

group :test do
gem 'cucumber'
Expand Down

0 comments on commit bdc62d3

Please sign in to comment.