Skip to content

Commit

Permalink
fix theme asset helper spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Fuchs committed Jul 14, 2008
1 parent 4ea85cc commit 3804855
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/helpers/theme_helper_spec.rb
Expand Up @@ -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
Expand All @@ -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

Expand Down

2 comments on commit 3804855

@TomK32
Copy link
Collaborator

@TomK32 TomK32 commented on 3804855 Jul 14, 2008

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it themetheme-1 on purpose?

@svenfuchs
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol … no.

The line actually is: @theme_path = “theme-1/something”

Looks like a github bug with the diff highlighting

Please sign in to comment.