Align project files with CodeHarbor
Since both projects are developed together and by the same team, we also want to have the same code structure and utility methods available in both projects. Therefore, this commit changes many files, but without a functional change.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe ApplicationHelper do
|
||||
RSpec.describe ApplicationHelper do
|
||||
describe '#code_tag' do
|
||||
context 'with code' do
|
||||
let(:code) { 'puts 42' }
|
||||
@ -80,7 +80,7 @@ describe ApplicationHelper do
|
||||
end
|
||||
|
||||
describe '#row' do
|
||||
let(:html) { row(label: 'foo', value: 42) }
|
||||
let(:html) { row(label: 'shared.show', value: 42) }
|
||||
|
||||
it "builds nested 'div' tags" do
|
||||
expect(html).to have_css('div.attribute-row.row div.col-md-3 + div.col-md-9')
|
||||
|
Reference in New Issue
Block a user