Sha256: e52d9069c9bca68ec8b02ccfd45b18d45cbff24e01f21de1c268c8c8d7e4f91d
Contents?: true
Size: 474 Bytes
Versions: 1
Compression:
Stored size: 474 Bytes
Contents
require "spec_helper" describe Docks::Themes::API do subject { described_class.instance } describe "#helpers" do it "has the helpers module" do expect(subject.helpers).to eq [described_class::Helpers] end end describe "#configure" do let(:config) { OpenStruct.new(paginate: false, helpers: [:foo]) } it "updates pagination to be by pattern" do subject.configure(config) expect(config.paginate).to eq "pattern" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docks_theme_api-1.0.3 | spec/lib/theme_spec.rb |