Sha256: 3e89e35c85095902759bccba46e9e5aeeebe638fadddd742db656eb256069209
Contents?: true
Size: 417 Bytes
Versions: 3
Compression:
Stored size: 417 Bytes
Contents
require "micropub/homesteading/router" describe Micropub::Homesteading::Router do describe "#as" do it "uses the as attr to set as" do router = Micropub::Homesteading::Router.new("as" => "note") expect(router.as).to eq "note" end it "can use h to convert the type" do router = Micropub::Homesteading::Router.new("h" => "entry") expect(router.as).to eq "note" end end end
Version data entries
3 entries across 3 versions & 1 rubygems