class FontAwesomeRailsTest

Private Instance Methods

assert_font_awesome(response) click to toggle source
# File test/font_awesome_rails_test.rb, line 67
def assert_font_awesome(response)
  assert_response :success
  assert_match(/font-family:\s*'FontAwesome';/, response.body)
end
clean_sprockets_cache() click to toggle source
# File test/font_awesome_rails_test.rb, line 63
def clean_sprockets_cache
  FileUtils.rm_rf File.expand_path("../dummy/tmp",  __FILE__)
end