Skip to content

Commit

Permalink
Fix test for FontAwesome.load_config
Browse files Browse the repository at this point in the history
  • Loading branch information
ruedap committed Nov 8, 2014
1 parent 2800542 commit 5ee0811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion workflow/lib/font_awesome.rb
Expand Up @@ -72,7 +72,6 @@ def self.load_config

YAML.load_file(CONFIG_FILE_PATH)
rescue StandardError
FileUtils.rm(CONFIG_FILE_PATH, :force => true) # FIXIME: remove
nil
end

Expand Down
4 changes: 2 additions & 2 deletions workflow/spec/font_awesome_spec.rb
Expand Up @@ -106,8 +106,8 @@
expect(described_class.load_config).to be_nil
end

it 'does not exist config.yml' do
expect(File.exist?(config_file_path)).to be_falsy
it 'exists config.yml' do
expect(File.exist?(config_file_path)).to be_truthy
end
end
end
Expand Down

0 comments on commit 5ee0811

Please sign in to comment.