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.
match "/plugins" => "plugins#get_plugins", :via => "get"
My controller has following method:
render :text=> third_party_module.get_plugins()
third_party_module.get_plugins() is the third party module that returns
Functional test file: plugins_controller_test.rb has the following test
test "should get plugins" do
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
As I am not using any database.