Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Neeraj Singh authored and josevalim committed May 31, 2010
1 parent c623979 commit e40787a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 24 deletions.
1 change: 1 addition & 0 deletions test/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
after do
ctype = request.xhr? ? 'application/json' : 'text/html'
content_type ctype, :charset => 'utf-8'
@app_base_url='http://localhost:4567'
end

get '/' do
Expand Down
22 changes: 0 additions & 22 deletions test/views/ifram-csrf.erb

This file was deleted.

6 changes: 4 additions & 2 deletions test/views/index.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
<script src="/vendor/rails.js" type="text/javascript"></script>

<script src="/test/settings.js" type="text/javascript"></script>
<!--
<script src="/test/data-confirm.js" type="text/javascript"></script>
<script src="/test/data-remote.js" type="text/javascript"></script>
<script src="/test/data-disable.js" type="text/javascript"></script>
<script src="/test/call-remote.js" type="text/javascript"></script>
<script src="/test/call-remote-callbacks.js" type="text/javascript"></script>
-->
<script src="/test/data-method.js" type="text/javascript"></script>

</head>
Expand All @@ -28,15 +30,15 @@
<div id='fixtures' class='fixture'></div>

<div id='fixtures-iframe' class='fixture'>
<iframe src="http://localhost:4567/iframe" width=450 height=100>
<iframe src="<%=@app_base_url%>/iframe" width=450 height=100>
<div class='iframe'>
<div id='iframe_form'></div>
</div>
</iframe>
</div>

<div id='fixtures-iframe-csrf' class='fixture'>
<iframe src="http://localhost:4567/iframe-csrf" width=450 height=100>
<iframe src="<%=@app_base_url%>/iframe-csrf" width=450 height=100>
<div class='iframe'>
<div id='iframe_form'></div>
</div>
Expand Down

0 comments on commit e40787a

Please sign in to comment.