Skip to content

Commit

Permalink
fixed project policy spec
Browse files Browse the repository at this point in the history
  • Loading branch information
diogob committed Jan 24, 2014
1 parent 881b3f3 commit 835a6dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/policies/project_policy_spec.rb
Expand Up @@ -78,7 +78,7 @@

Project.attribute_names.each do |field|
context "when field is #{field}" do
subject{ policy.permitted?(field) }
subject{ policy.permitted?(field.to_sym) }
it{ should be_true }
end
end
Expand Down

0 comments on commit 835a6dc

Please sign in to comment.