Sha256: 2cb8a493df07d956b58ac6ac9e16f8ff2225cd6b7363eea22276d17be97b8649
Contents?: true
Size: 436 Bytes
Versions: 14
Compression:
Stored size: 436 Bytes
Contents
require 'spec_helper' describe WhowishWordController do it "adds a word correctly" do word_id = "test" content = "Hello" post :change_word, { :word_id => word_id, :content => content } body = expect_json_response body['ok'].should be_true I18n.t(word_id.to_sym).should == content end end
Version data entries
14 entries across 14 versions & 1 rubygems