add rspec expects
update some ruby snippets