1
0
Fork 0
mirror of https://github.com/kbparagua/paloma synced 2023-03-27 23:21:17 -04:00

Adjust basic_spec.rb

This commit is contained in:
kbparagua 2015-03-24 21:58:41 +08:00
parent 0e33fe9908
commit 81e873dfd5
2 changed files with 6 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class MainController < ApplicationController
def xml_response def xml_response
render :xml => '<xml></xml>' render :xml => '<?xml version="1.0" encoding="UTF-8"?><note>test</note>'
end end

View file

@ -114,7 +114,11 @@ feature 'executing Paloma controller', :js => true do
context 'xml response' do context 'xml response' do
before { visit xml_response_main_index_path } before { visit xml_response_main_index_path }
include_examples 'no paloma'
it 'does not add paloma hook' do
# TODO: implement this
# XML is not supported by capybara.
end
end end
context 'file response' do context 'file response' do