Orbit/spec/controllers/design_controller_spec.rb

48 lines
821 B
Ruby
Raw Normal View History

require 'spec_helper'
describe DesignController do
describe "GET 'index'" do
it "should be successful" do
get 'index'
response.should be_success
end
end
describe "GET 'new'" do
it "should be successful" do
get 'new'
response.should be_success
end
end
describe "GET 'update'" do
it "should be successful" do
get 'update'
response.should be_success
end
end
describe "GET 'edit'" do
it "should be successful" do
get 'edit'
response.should be_success
end
end
describe "GET 'destroy'" do
it "should be successful" do
get 'destroy'
response.should be_success
end
end
describe "GET 'create'" do
it "should be successful" do
get 'create'
response.should be_success
end
end
end