Skip to content

Commit

Permalink
Fix spec.
Browse files Browse the repository at this point in the history
Remove comments.
  • Loading branch information
tomdonarski committed Oct 18, 2023
1 parent 3af140a commit 35a3b96
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@ module Admin
subject { builder.build }

it 'builds default tabs' do
# this means that tab items will need to respond to 'text' message,
# just as section items respond to 'key' message
expect(subject.items.map(&:name)).to match(default_tabs)
expect(subject.items.map(&:key)).to match(default_tabs)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ module Admin
subject { builder.build }

it 'builds default tabs' do
# this means that tab items will need to respond to 'text' message,
# just as section items respond to 'key' message
expect(subject.items.map(&:name)).to match(default_tabs)
expect(subject.items.map(&:key)).to match(default_tabs)
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ module Admin
subject { builder.build }

it 'builds default tabs' do
# this means that tab items will need to respond to 'text' message,
# just as section items respond to 'key' message
expect(subject.items.map(&:name)).to match(default_tabs)
expect(subject.items.map(&:key)).to match(default_tabs)
end
end
end
Expand Down

0 comments on commit 35a3b96

Please sign in to comment.