test/lib/poolparty/resources/file_test.rb in auser-poolparty-1.3.13 vs test/lib/poolparty/resources/file_test.rb in auser-poolparty-1.3.14

- old
+ new

@@ -11,10 +11,10 @@ @base.compile_directory = test_dir @cookboox_directory = test_dir/"cookbooks"/"poolparty" end should "have the template method denoted by has_method_name" do - str = "template \"/etc/poolparty/lyrics\" do\n source \"/etc/poolparty/lyrics.erb\"\n action :create\n backup 5\n mode 0644\n owner \"root\"\nend\n" + str = "template \"/etc/poolparty/lyrics\" do\n source \"/etc/poolparty/lyrics.erb\"\n action :create\n backup 5\n mode \"0644\"\n owner \"root\"\nend\n" assert_equal str, @base.compile(@res) assert_equal "I'm just a file, a lonely little file in the world", open(@cookboox_directory/"templates"/"default"/"etc"/"poolparty"/"lyrics.erb").read end \ No newline at end of file