File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 143
143
desc "Push docs/cukes to relishapp using the relish-client-gem"
144
144
task :relish , :version do |_t , args |
145
145
raise "rake relish[VERSION]" unless args [ :version ]
146
+
146
147
sh "cp Changelog.md features/"
147
148
if `relish versions rspec/rspec-rails` . split . map ( &:strip ) . include? args [ :version ]
148
149
puts "Version #{ args [ :version ] } already exists"
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ def with_unbundled_env
58
58
helpers = %w[ spec/spec_helper.rb spec/rails_helper.rb ]
59
59
Dir [ "#{ aruba_dir } /spec/*" ] . each do |path |
60
60
next if helpers . any? { |helper | path . end_with? ( helper ) }
61
+
61
62
FileUtils . rm_rf ( path )
62
63
end
63
64
end
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ def self.helper(*); end # Stub method
29
29
30
30
it 'operates normally when no helper with the same name exists' do
31
31
raise 'unexpected constant found' if Object . const_defined? ( 'ClocksHelper' )
32
+
32
33
expect {
33
34
RSpec ::Core ::ExampleGroup . describe 'clocks/show.html.erb' do
34
35
include ViewExampleGroup
You can’t perform that action at this time.
0 commit comments