Sha256: 16b0322fb674be29c100d9def01a4da4594da30a5ad14ba1cb4504f2d140d62e
Contents?: true
Size: 548 Bytes
Versions: 36
Compression:
Stored size: 548 Bytes
Contents
require_relative '../../app/presenters/outline_download_presenter' describe OutlineDownloadPresenter do describe "#css_class" do describe "when enabled" do subject { OutlineDownloadPresenter.new(stub(enabled: true)) } it "returns download" do subject.css_class.should == 'download' end end describe "when disabled " do subject { OutlineDownloadPresenter.new(stub(enabled: false)) } it "returns disabled" do subject.css_class.should == 'download disabled' end end end end
Version data entries
36 entries across 36 versions & 1 rubygems