spec/album_spec.rb in picturama-0.0.2 vs spec/album_spec.rb in picturama-0.0.3

- old
+ new

@@ -31,12 +31,17 @@ end it "verifies the album name is correct based on folder name" do expected_album_name = "dummy album" expected_album_folder = "dummy-album" - Picturama::albums(@target_exists_folder).first.name.should == expected_album_name + Picturama::albums(@target_exists_folder).first.name!.should == expected_album_name Picturama::albums(@target_exists_folder).first.folder.should == expected_album_folder Picturama::albums(@target_exists_folder).first.slug.should == expected_album_folder + end + + it "checks the album info from the .info.yml file" do + album_title_expected = 'some pictures here' + @album.info['album']['name'].should == album_title_expected end end \ No newline at end of file