Skip to content

Commit

Permalink
Convert double-quoted strings to single-quoted strings when there is …
Browse files Browse the repository at this point in the history
…no interpolation.

2 files were modified.
  • Loading branch information
ACRE committed Oct 23, 2013
1 parent a1491a4 commit a4791aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/dill/widgets/widget.rb
Expand Up @@ -367,7 +367,7 @@ def inspect
rescue Capybara::NotSupportedByDriverError
inspection << "<#{root.tag_name}>\n#{to_s}"
rescue Capybara::ElementNotFound, *page.driver.invalid_element_errors
"#<DETACHED>"
'#<DETACHED>'
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/dill/widgets/list_verification_spec.rb
Expand Up @@ -10,7 +10,7 @@
Then { failure == Failure(Capybara::ElementNotFound) }
end

context "to verify equality" do
context 'to verify equality' do
context 'when the list is empty' do
GivenHTML <<-HTML
<ul id="skills"></ul>
Expand Down

0 comments on commit a4791aa

Please sign in to comment.