updated spec.rb