Tag Archives: Ruby
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
O’Reilly Radar sees Ruby Book Sales Surpass Python
In Ruby Book Sales Surpass Python over on O’Reilly Radar, Tim O’Reilly asks, “But as you can see, we’re on the fence about whether or not Python has an answer to RoR (and we’re not even asking the question about … Continue reading
Posted in Technology
Tagged books, Python, Ruby
Comments Off on O’Reilly Radar sees Ruby Book Sales Surpass Python