Sha256: 7e55bfbcb8284ad5b930ce680d6b1f01de699734d955b58da482bdc883058e4b
Contents?: true
Size: 866 Bytes
Versions: 3
Compression:
Stored size: 866 Bytes
Contents
describe "In application", type: :request do example "with a basic request" do get '/' expect(response.body).to eq <<-HTML.strip_heredoc <!DOCTYPE html> <html> <head> <title>Dummy app</title> </head> <body> <ol><li><a href="/">home</a></li><li><a href="/">here</a></li></ol> <h1>Home</h1> <p>Hello world!</p> </body> </html> HTML end example "with a block request" do get '/hello' expect(response.body).to eq <<-HTML.strip_heredoc <!DOCTYPE html> <html> <head> <title>Dummy app</title> </head> <body> <ol><li><a href="/">home</a></li><li><a href="/">here</a></li><li><a href="/world">world</a></li></ol> Breadcrumbs: home: / here: / world: /world </body> </html> HTML end end
Version data entries
3 entries across 3 versions & 1 rubygems