File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616
1717 context "when #content is a string representing a lib/file" do
1818 subject do
19- Class . new ( described_class ) { def content = "colors.sh" } . new
19+ Class . new ( described_class ) { def content ; "colors.sh" ; end } . new
2020 end
2121
2222 it "returns an array of hashes" do
5454
5555 context "when #content is a hash" do
5656 subject do
57- Class . new ( described_class ) { def content = { some : 'hash' } } . new
57+ Class . new ( described_class ) { def content ; { some : 'hash' } ; end } . new
5858 end
5959
6060 it "returns an array with the hash as its first and only element" do
6666
6767 context "when #content is something else" do
6868 subject do
69- Class . new ( described_class ) { def content = [ "something else" ] } . new
69+ Class . new ( described_class ) { def content ; [ "something else" ] ; end } . new
7070 end
7171
7272 it "returns it as is" do
You can’t perform that action at this time.
0 commit comments