Skip to content

Commit

Permalink
Updated spec to reflect revision renders the template show
Browse files Browse the repository at this point in the history
  • Loading branch information
codafoo committed Apr 18, 2008
1 parent 94162c2 commit 34937fe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/controllers/pages_controller_spec.rb
Expand Up @@ -24,7 +24,7 @@ def create_page

get :revision, :id => page.permalink, :version => page.version - 1
response.should be_success
response.should render_template("revision")
response.should render_template("show")
end

it "searches for pages" do
Expand Down Expand Up @@ -139,7 +139,7 @@ def create_page

get :revision, :id => page.permalink, :version => page.version - 1
response.should be_success
response.should render_template("revision")
response.should render_template("show")
end

it "searches for pages" do
Expand Down Expand Up @@ -205,7 +205,7 @@ def create_page

get :revision, :id => page.permalink, :version => page.version - 1
response.should be_success
response.should render_template("revision")
response.should render_template("show")
end

it "searches for pages" do
Expand Down

0 comments on commit 34937fe

Please sign in to comment.