Skip to content

Instantly share code, notes, and snippets.

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'}}
@qbrossard
qbrossard / gist:6150277
Created August 4, 2013 13:04
Basic setup for a vagrant box with jruby for JRuby on Rails development
# 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
@qbrossard
qbrossard / test_helper
Created January 24, 2012 09:31
test_helper.rb
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