Commit f5285d31 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Remove mass-assigment tests

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 4ff1fc35
......@@ -5,10 +5,6 @@ describe GitHook do
it { should belong_to(:project) }
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
it { should validate_presence_of(:project) }
end
......
......@@ -6,11 +6,6 @@ describe ProjectGroupLink do
it { should belong_to(:project) }
end
describe "Mass assignment" do
it { should_not allow_mass_assignment_of(:group_id) }
it { should_not allow_mass_assignment_of(:project_id) }
end
describe "Validation" do
let!(:project_group_link) { create(:project_group_link) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment