spec/lib/pra/config_spec.rb in pra-1.1.0 vs spec/lib/pra/config_spec.rb in pra-1.2.0
- old
+ new
@@ -132,6 +132,14 @@
pull_source_configs = double('pull source configs')
subject.instance_variable_set(:@initial_config, { "pull_sources" => pull_source_configs })
subject.pull_sources.should eq(pull_source_configs)
end
end
+
+ describe "#assignee_blacklist" do
+ it "returns the assignee blacklist value out of the config" do
+ assignee_blacklist_configs = double('assignee blacklist configs')
+ subject.instance_variable_set(:@initial_config, { "assignee_blacklist" => assignee_blacklist_configs })
+ subject.assignee_blacklist.should eq(assignee_blacklist_configs)
+ end
+ end
end