没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
虚假示例 将与RSpec一起使用以测试Rails应用程序的示例。 如何 1.将PusherFake JS用于Pusher JS实例。 < script > <% if defined? ( PusherFake ) %> // Test environment. // // Note: Ensure output is not HTML escaped, such as with the raw helper in Rails. var instance = <%= PusherFake . javascript %> ; <% else %> // Other environments, such as production. var instance = new Pusher ( ... ) ; <% end %> </
资源推荐
资源详情
资源评论
收起资源包目录
pusher-fake-example-master.zip (43个子文件)
pusher-fake-example-master
.github
workflows
ci.yml 595B
public
500.html 643B
robots.txt 204B
422.html 711B
favicon.ico 0B
404.html 728B
config.ru 99B
Gemfile 268B
spec
spec_helper.rb 1KB
features
message_spec.rb 482B
connect_spec.rb 445B
rails_helper.rb 965B
support
capybara.rb 213B
pusher-fake.rb 36B
helpers
connect.rb 375B
Rakefile 282B
README.markdown 971B
config
initializers
wrap_parameters.rb 372B
cookies_serializer.rb 132B
session_store.rb 151B
pusher.rb 101B
secret_token.rb 511B
assets.rb 285B
application.rb 1KB
environments
test.rb 1KB
development.rb 1KB
production.rb 2KB
boot.rb 95B
routes.rb 75B
environment.rb 150B
LICENSE 1KB
Gemfile.lock 5KB
.gitignore 430B
app
views
pages
index.html.erb 643B
layouts
application.html.erb 111B
controllers
application_controller.rb 57B
pages_controller.rb 136B
assets
config
manifest.js 38B
javascripts
pusher-3.1.0.js 133KB
bin
setup 805B
bundle 129B
rake 90B
rails 145B
共 43 条
- 1
资源评论
易行健
- 粉丝: 24
- 资源: 4593
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功