spec/lib/resources_extractor_spec.rb in rapidoc-0.0.6 vs spec/lib/resources_extractor_spec.rb in rapidoc-0.0.7

- old
+ new

@@ -85,14 +85,20 @@ end end context "when config has resources_black_list" do before do + create_config_structure + File.open("#{config_dir}/rapidoc.yml", 'w') do |file| file.write "resources_black_list: images, albums" end load_config + end + + after :all do + remove_config end it "returns correct resources names" do names = get_resources.map(&:name) names.should_not be_include( "images" )