Sha256: f38ea10d147f05381c47ab3b97419531e9c53d8ae382c04ac1e3384028283f64
Contents?: true
Size: 383 Bytes
Versions: 4
Compression:
Stored size: 383 Bytes
Contents
here = File.expand_path(File.dirname(__FILE__)) require File.expand_path("#{here}/../spec_helper") describe "Hello World example from README" do it "works" do Dir.chdir(here) do clear_bundler_env html = sys "ruby hello_from_readme.rb" html.should == "<html><head><title>Welcome page</title></head><body><p>Hello, world</p></body></html>\n" end end end
Version data entries
4 entries across 4 versions & 1 rubygems