Skip to content

Commit

Permalink
reformatting
Browse files Browse the repository at this point in the history
  • Loading branch information
drnic committed Oct 12, 2009
1 parent 3bad291 commit ac361e8
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,16 +78,17 @@ def setup_app_with_theme(theme, theme_options = {})
end

def setup_bloganje(theme_options = {})
setup_app_with_theme('bloganje',
{:content_path => "#content:text", :partials => { "header" => '#header h2 text()', "sidebar" => '#sidebar' }}.
merge(theme_options))
setup_app_with_theme('bloganje', {
:content_path => "#content:text",
:partials => { "header" => '#header h2 text()', "sidebar" => '#sidebar' }
}.merge(theme_options))
end

def setup_hobbit(theme_options = {})
setup_app_with_theme('the-hobbit-website-template',
{ :content_path => "//div[@class='content']/text()",
:partials => { "menu" => "//div[@class='navigation']/text()", "subtitle" => "//div[@class='header']/p" }}.
merge(theme_options))
setup_app_with_theme('the-hobbit-website-template', {
:content_path => "//div[@class='content']/text()",
:partials => { "menu" => "//div[@class='navigation']/text()", "subtitle" => "//div[@class='header']/p" }
}.merge(theme_options))
end

def setup_base_rails(options)
Expand Down

0 comments on commit ac361e8

Please sign in to comment.