Skip to content

Instantly share code, notes, and snippets.

@corroded
Created February 26, 2018 18:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save corroded/66dad2aa636f5ff325e2ab5552bb3b92 to your computer and use it in GitHub Desktop.
Save corroded/66dad2aa636f5ff325e2ab5552bb3b92 to your computer and use it in GitHub Desktop.
Sample Rspec to convert to JS
context 'street name is also a street type' do
let(:street) { 'Gap Road' }
let(:expected_hash) { { street_name: 'Gap', street_type: 'Road' } }
it { is_expected.to eq expected_hash }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment