Sha256: 94641109fab41e60a424168c639c72dcb5bc0bf40313ef1c588384ceb5e2da85
Contents?: true
Size: 506 Bytes
Versions: 1
Compression:
Stored size: 506 Bytes
Contents
require 'spec_helper' module Roadie describe CssNotFound do it "is initialized with a name" do error = CssNotFound.new('style.css') expect(error.css_name).to eq('style.css') expect(error.message).to eq('Could not find stylesheet "style.css"') end it "can be initialized with an extra message" do expect(CssNotFound.new('file.css', "directory is missing").message).to eq( 'Could not find stylesheet "file.css": directory is missing' ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
roadie-3.0.0 | spec/lib/roadie/css_not_found_spec.rb |