Skip to content

Commit

Permalink
Add smoke test for #1706.
Browse files Browse the repository at this point in the history
  • Loading branch information
ugisozols committed May 29, 2012
1 parent 843346d commit 9adbd71
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pages/spec/controllers/refinery/admin/pages_controller_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
require "spec_helper"

module Refinery
module Admin
describe PagesController, :focus => true do

This comment has been minimized.

Copy link
@parndt

parndt Jun 11, 2012

Member

:'(

This comment has been minimized.

Copy link
@ugisozols

ugisozols Jun 11, 2012

Author Member

😭

login_refinery_superuser

describe "#update_positions" do
it "calls .rebuild! on Refinery::Page" do
Refinery::Page.should_receive(:rebuild!).once

post :update_positions, :ul => []
end
end
end
end
end

0 comments on commit 9adbd71

Please sign in to comment.