Hi, I have a rails application that has a Application controller that exposes REST API. And for the data I am using a third party module instead of rails Model.
REST API: http://myApp/plugins Route.rb: match "/plugins" => "plugins#get_plugins", :via => "get" My controller has following method: def get_plugins render :text=> third_party_module.get_plugins() end third_party_module.get_plugins() is the third party module that returns data. Functional test file: plugins_controller_test.rb has the following test method: test "should get plugins" do get :get_plugins assert_response :success end When I am trying to run functional test, it gives following error: "db/schema.rb doesn't exist yet. Run "rake db:migrate" to create it then try again" As I am not using any database. Please help. Regards, Anil -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

