Sha256: 17d1f09beb9020952f741c018ed52569ace5db4f3221421f24bb74c23792c34b
Contents?: true
Size: 659 Bytes
Versions: 3
Compression:
Stored size: 659 Bytes
Contents
require "spec_helper" describe Docks::Tags::Public do subject { Docks::Tags::Public.instance } it "does not allow multiline content" do expect(subject.multiline?).to be false end it "only allows one tag per block" do expect(subject.multiple_allowed?).to be false end describe "#process" do let(:symbol) { Docks::Containers::Symbol.new(public: true) } before :each do subject.process(symbol) end it "sets the access attribute to be public" do expect(symbol.access).to be Docks::Types::Access::PUBLIC end it "removes the public attribute" do expect(symbol.public).to be nil end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
docks_app-0.0.3 | spec/lib/tags/public_tag_spec.rb |
docks_app-0.0.2 | spec/lib/tags/public_tag_spec.rb |
docks_app-0.0.1 | spec/lib/tags/public_tag_spec.rb |