Moved "I am an authorized user" step definition from pool_step.rb to user_step.rb
Feature for Providers API - index action

https://www.aeolusproject.org/redmine/issues/3234

This commit contains only cucumber feature and step definitions
Rspec tests for Providers API - index action

https://www.aeolusproject.org/redmine/issues/3234

This commit adds rspec tests for index action of Providers API

This adds custom matchers for rspec and modifies spec_helper.rb file to
load them.
Adds attributes list of providers in XML

https://www.aeolusproject.org/redmine/issues/3234

This adds id and href attributes to provider node in providers list in
xml
Feature for Providers API - show action

https://www.aeolusproject.org/redmine/issues/3239

This commit contains only cucumber feature and step definitions
Rspec tests for Providers API - show action

https://www.aeolusproject.org/redmine/issues/3239

This commit adds rspec tests for show action of Providers API

Also this adds shared examples for http OK and Not Found status

This also abandod Hash.from_xml in favour of Nokogiri::XML
Adds XML format for show detail of Provider

https://www.aeolusproject.org/redmine/issues/3239

Adds _detail.xml.haml template for displaying Provider via XML
Adds respond_to block to handle_active_record_not_found error handler
Renamed spec file for ProvidersController
Feature for Providers API - create action

https://www.aeolusproject.org/redmine/issues/3248

This commit contains cucumber feature and step
definitions

Also adds invalid_provider Factory definition
Rspec tests for Providers API - create action

https://www.aeolusproject.org/redmine/issues/3248

This commit adds rspec tests for create action of
Providers API

Also this adds shared examples for http Bad Request status
Adds XML format for create detail of Provider

https://www.aeolusproject.org/redmine/issues/3248

Adds respond_to blocks to create action in ProvidersController

Adds route to POST api/providers => ProvidersController#create

Adds validations_error.xml.haml template
Removes duplicated step definition

Removes duplicated step definition for "I am an authorised user"
Fixes typo recieve => receive
Changes format of XML on input of create action

https://www.aeolusproject.org/redmine/issues/3248

Now create action accepts provider type id as an attribut
of provider_type node - <provider_type id="1" />
(before only <provider_type_id>1</provider_type_id> worked)
Feature for Providers API - destroy action

https://www.aeolusproject.org/redmine/issues/3250

This commit contains cucumber feature and step
definitions
Rspec tests for Providers API - destroy action

https://www.aeolusproject.org/redmine/issues/3250

This commit adds rspec tests for destroy action of
Providers API
Adds XML format for destroy of Provider

https://www.aeolusproject.org/redmine/issues/3250

Adds route to DELETE api/providers => ProvidersController#destroy
Feature for Providers API - update action

https://www.aeolusproject.org/redmine/issues/3249

This commit adds cucumber feature and step definitions
Rspec tests for Providers API - update action

https://www.aeolusproject.org/redmine/issues/3249

This commit adds rspec tests for update action of Providers API
Adds XML format for update of Provider

https://www.aeolusproject.org/redmine/issues/3249

Adds route to PUT api/providers => ProvidersController#update

Refactors ProvidersController#parse_provider_type into before_filter

Changes Provider.find_by_id to Provider.find in edit and update actions.
This caused ugly errors in UI when url chenged to non existing Provider