spec/unit/policy_spec.rb in evil-client-2.0.0 vs spec/unit/policy_spec.rb in evil-client-2.1.0
- old
+ new
@@ -20,13 +20,13 @@
it "builds a subclass of its own" do
expect(subject.superclass).to eq described_class
end
it "keeps reference to the settings" do
- expect(subject.settings).to eq settings
+ expect(subject.model).to eq settings
end
- it "takes the name from settings clsass" do
+ it "takes the name from settings class" do
expect(subject.name).to eq "Foo.policy"
end
end
end