Tag Archives: rspec
RSpec test code extracted from Sinatra Ruby
From: http://www.sinatrarb.com/testing.html#frameworks In app/hello_world.rb require ‘sinatra’ get ‘/’ do “Hello World #{params[:name]}”.strip end In app/spec/app_spec.rb require ‘hello_world’require ‘spec’ require ‘rack/test’ set :environment, :test describe ‘The HelloWorldApp’ do include Rack::Test::Methods def app Sinatra::Application end it “says hello” do get ‘/’ last_response.should … Continue reading
Quick RVM Rubinius 1.0.0 Install Recipe
Here are the quick and dirty commands I used to install Rubinius 1.0.0 with Rails, RSpec, and Sinatra in RVM on Mac OS X. So far I haven’t been able to get Cucumber to install. The problem has been fixed … Continue reading
Posted in Blog, Computers, Programming, Web Development
Tagged cucumber, rspec, rubinius, Ruby on Rails, RVM
Comments Off on Quick RVM Rubinius 1.0.0 Install Recipe