features/step_definitions/rubygems_steps.rb in newgem-1.3.0 vs features/step_definitions/rubygems_steps.rb in newgem-1.4.0

- old
+ new

@@ -1,7 +1,7 @@ Then /^gemspec builds the RubyGem successfully$/ do @stdout = File.expand_path(File.join(@tmp_root, "rake.out")) - FileUtils.chdir(@active_project_folder) do + in_project_folder do system "gem build #{@project_name}.gemspec > #{@stdout}" gemspec = Dir['**/*.gem'].first gemspec.should_not be_nil end end \ No newline at end of file