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
ps -aef | awk "{if ( \$3 == 1 ) { print \$_ }}" |
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
# RSpec2 JSON Matcher for functional/controller tests | |
# Webrat usage example: | |
# | |
# it "should be the JSON representation" do | |
# get :show, id: object.id, format: :json | |
# response.body.should be_json_eql object.to_json | |
# end | |
require 'rspec/expectations' |
NewerOlder