test/jeweler/test_generator_initialization.rb in jeweler-1.6.3 vs test/jeweler/test_generator_initialization.rb in jeweler-1.6.4
- old
+ new
@@ -99,10 +99,10 @@
should "set todo in description" do
assert_match /todo/i, @generator.description
end
should "set target directory to the project name" do
- assert_equal @project_name, @generator.target_dir
+ assert_equal @project_name, File.split(@generator.target_dir).last
end
should "set user's name from git config" do
assert_equal @git_name, @generator.user_name
end