data_controller_spec.rb 230 B

123456789101112
  1. require 'spec_helper'
  2. describe ChinaCity::DataController do
  3. describe "GET 'show'" do
  4. it "returns http success" do
  5. get 'show', id: '000000', use_route: 'china_city'
  6. response.should be_success
  7. end
  8. end
  9. end