test/unit/library_generator_test.rb in sprout-1.0.24.pre vs test/unit/library_generator_test.rb in sprout-1.0.25.pre

- old
+ new

@@ -22,15 +22,15 @@ should "generate a new library" do @generator.input = 'flexunit' @generator.version = '4.2.pre' @generator.execute - assert_file @temp assert_file File.join(@temp, 'flexunit.gemspec') do |content| assert_matches /s.name\s+= Flexunit::NAME/, content assert_matches /s.version\s+= Flexunit::VERSION/, content assert_matches /s.author\s+= "Your Name"/, content end + assert_file File.join(@temp, 'flexunit.rb') do |content| assert_matches /NAME\s+= 'flexunit'/, content assert_matches /VERSION\s+= '4.2.pre'/, content end end