|
32 | 32 | end
|
33 | 33 |
|
34 | 34 | scenario "loading from a Gist" do
|
| 35 | + skip "Gist not supported yet" |
35 | 36 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
|
36 | 37 |
|
37 | 38 | expect(editor).to have_line 'This source code came from a Gist'
|
38 | 39 | end
|
39 | 40 |
|
40 | 41 | scenario "loading from a Gist preserves the links" do
|
| 42 | + skip "Gist not supported yet" |
41 | 43 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
|
42 | 44 |
|
43 | 45 | within(:output) { click_on 'Share' }
|
44 | 46 | expect(page).to have_link("Permalink to the playground", href: /gist=20fb1e0475f890d0fdb7864e3ad0820c/)
|
45 | 47 | end
|
46 | 48 |
|
47 | 49 | scenario "loading from a Gist with a channel preserves the channel" do
|
| 50 | + skip "Gist not supported yet" |
48 | 51 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&version=beta'
|
49 | 52 |
|
50 | 53 | expect(page).to have_channel('Beta')
|
51 | 54 | expect(page).to have_link("Permalink to the playground", href: /version=beta/)
|
52 | 55 | end
|
53 | 56 |
|
54 | 57 | scenario "loading from a Gist with a mode preserves the mode" do
|
| 58 | + skip "Gist not supported yet" |
55 | 59 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&mode=release'
|
56 | 60 |
|
57 | 61 | expect(page).to have_mode('Release')
|
58 | 62 | expect(page).to have_link("Permalink to the playground", href: /mode=release/)
|
59 | 63 | end
|
60 | 64 |
|
61 | 65 | scenario "loading from a Gist with an edition preserves the edition" do
|
| 66 | + skip "Gist not supported yet" |
62 | 67 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&edition=2018'
|
63 | 68 |
|
64 | 69 | expect(page).to have_edition('2018')
|
65 | 70 | expect(page).to have_link("Permalink to the playground", href: /edition=2018/)
|
66 | 71 | end
|
67 | 72 |
|
68 | 73 | scenario "loading from a Gist without an edition selects Rust 2015" do
|
| 74 | + skip "Gist not supported yet" |
69 | 75 | visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
|
70 | 76 |
|
71 | 77 | expect(page).to have_edition('2015')
|
|
0 commit comments