File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -199,15 +199,15 @@ def id;
199
199
end
200
200
201
201
it "#data-secret" do
202
- quick_render { div ( 'a' ) . data_secret ( "I won't tell." ) } . should == '<div data-secret="I won\'t tell.">a</div>'
202
+ quick_render { div ( 'a' ) . data_secret ( "I do not tell." ) } . should == '<div data-secret="I do not tell.">a</div>'
203
203
end
204
204
205
205
it '#data' do
206
206
quick_render { hr . data ( :secret => true ) } . should == '<hr data-secret="true" />'
207
- quick_render { div ( 'a' , :data => { :secret => "I won't tell." } ) } . should ==
208
- '<div data-secret="I won\'t tell.">a</div>'
209
- quick_render { div ( 'a' ) . data ( :secret => "I won't tell." ) { text 'a' } } . should ==
210
- '<div data-secret="I won\'t tell.">a</div>'
207
+ quick_render { div ( 'a' , :data => { :secret => "I do not tell." } ) } . should ==
208
+ '<div data-secret="I do not tell.">a</div>'
209
+ quick_render { div ( 'a' ) . data ( :secret => "I do not tell." ) { text 'a' } } . should ==
210
+ '<div data-secret="I do not tell.">a</div>'
211
211
end
212
212
213
213
it 'tags should have all the attributes' do
You can’t perform that action at this time.
0 commit comments