require 'spec_helper'
it { should respond_with :success }
it { should render_template :show }
end
end
before do
end
it { should respond_with :success }
it { should render_template :show }
end
end
end
it { should respond_with :success }
it { should render_template :index }
end
end
before do
}
end
end
it { should respond_with :redirect }
end
end
before do
post :update, id: language.id, language: {
name: "test3"
}
end
end
end
it { should respond_with :redirect }
end
end
before do
post :update, id: language.id, language: {
name: "test3"
}
end
end
end
it { should respond_with :redirect }
end
end
before do
post :update, id: language.id, language: {
name: 'test3'
}
end
end
end
it { should respond_with :redirect }
end
end
end
before do
end
end
it { should respond_with :redirect }
end
end
before { delete :destroy, id: language.id }
end
it { should respond_with :redirect }
end
end
before do
end
end
it { should respond_with :redirect }
end
end
end
end