fixed typos and changed rspec example to include parameters than exact match