This file contains hidden or 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 "rest_client" do | |
| it "has events for rubyonrails-ch" do | |
| url = "https://api.meetup.com/2/events" | |
| params = {params: { key: MeetupClient::API_KEY, | |
| sign: 'true', | |
| group_urlname: 'rubyonrails-ch', | |
| page: 1, | |
| status: 'upcoming'}} |
This file contains hidden or 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
| # vagrant config for jruby rails dev. | |
| # prereqs: vagrant + virtualbox installed | |
| # ubuntu box | |
| vagrant init raring64 http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box | |
| # login | |
| vagrant ssh | |
| # java setup | |
| sudo apt-get install openjdk-7-jdk -y | |
| # rvm + jruby |
This file contains hidden or 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
| ENV["RAILS_ENV"] = "test" | |
| require File.expand_path('../../config/environment', __FILE__) | |
| require 'rails/test_help' | |
| class ActiveSupport::TestCase | |
| # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order. | |
| # | |
| # Note: You'll currently still have to declare fixtures explicitly in integration tests | |
| # -- they do not yet inherit this setting | |
| fixtures :all |