diff --git a/spec/helpers/theme_helper_spec.rb b/spec/helpers/theme_helper_spec.rb index 12c0b339d..9762076fb 100755 --- a/spec/helpers/theme_helper_spec.rb +++ b/spec/helpers/theme_helper_spec.rb @@ -9,7 +9,7 @@ theme.stub!(:local_path).and_return('site-1/theme-1') @controller.stub!(:current_themes).and_return [theme] - @theme_path = "themes/site-1/theme-1/something" + @theme_path = "theme-1/something" end def controller @@ -28,7 +28,7 @@ def controller end it "should add the theme path to multiple sources and leave options untouched" do - add_theme_paths('theme-1', ['something', 'else', {:foo => :bar}]).should == [@theme_path, 'themes/site-1/theme-1/else', {:foo => :bar}] + add_theme_paths('theme-1', ['something', 'else', {:foo => :bar}]).should == [@theme_path, 'theme-1/else', {:foo => :bar}] end end