test/rails_root/test/unit/theme_test.rb in disguise-0.1.3 vs test/rails_root/test/unit/theme_test.rb in disguise-0.2.0

- old
+ new

@@ -3,10 +3,10 @@ class ThemeTest < ActiveSupport::TestCase context "theme" do setup do @theme = Theme.first || Theme.create - @theme.current = 'blue' + @theme.name = 'blue' @blue_theme_hash = {:name=>"blue", :description=>"Put information about your theme here", :preview_image=>"/images/blue/preview.gif"} end context "locales" do should "get the locales for the current theme" do assert @theme.locales.any? {|locale| locale.index('blue') > 0}, "locales for the blue theme did not contain blue.yml" \ No newline at end of file