Created
February 20, 2012 16:38
-
-
Save ameuret/1870029 to your computer and use it in GitHub Desktop.
Ruby rescue statement modifier caveat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe M2Config do | |
before(:each) do | |
File.delete DEFAULT_DB_NAME rescue | |
@cfg = M2Config.new | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe M2Config do | |
before(:each) do | |
File.delete DEFAULT_DB_NAME rescue nil | |
@cfg = M2Config.new | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment