Created
August 31, 2013 23:12
-
-
Save L2G/6401246 to your computer and use it in GitHub Desktop.
A simple test of mountain_berry_fields (https://github.com/JoshCheek/mountain_berry_fields). I'm working on the RestClient gem and trying to use mbf to verify some code examples. I'm hitting a roadblock with this one, though: when I try to run it through mbf, I get the cryptic error message "NoMethodError undefined method `write' for File:Class"…
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
<% setup do %> | |
require './lib/restclient' | |
<% end %> | |
This is a test: | |
<% test 'generic test', with: :magic_comments do %> | |
response = RestClient.get 'http://l2g.github.com/' | |
response.code # => 200 | |
<% end %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment