Skip to content

Commit dba04a3

Browse files
authored
chore: skip gist tests (#9)
1 parent 451737a commit dba04a3

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

tests/spec/features/security_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
scenario "a notice is present for filesystem snoopers" do
1414
within(:header) { click_on("Run") }
1515
within(:output, :stdout) do
16-
expect(page).to have_content 'www.rust-lang.org/policies/security'
16+
expect(page).to have_content 'https://github.com/tari-project/tari/blob/development/SECURITY.md'
1717
end
1818
end
1919

tests/spec/features/sharing_with_others_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
# This test does more than one thing so we can avoid sending too
1212
# many requests to GitHub
1313
scenario "saving to a Gist" do
14+
skip "Gist not supported yet"
1415
editor.set(code)
1516

1617
in_channel_menu { click_on("Nightly") }

tests/spec/features/url_parameters_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,40 +32,46 @@
3232
end
3333

3434
scenario "loading from a Gist" do
35+
skip "Gist not supported yet"
3536
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
3637

3738
expect(editor).to have_line 'This source code came from a Gist'
3839
end
3940

4041
scenario "loading from a Gist preserves the links" do
42+
skip "Gist not supported yet"
4143
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
4244

4345
within(:output) { click_on 'Share' }
4446
expect(page).to have_link("Permalink to the playground", href: /gist=20fb1e0475f890d0fdb7864e3ad0820c/)
4547
end
4648

4749
scenario "loading from a Gist with a channel preserves the channel" do
50+
skip "Gist not supported yet"
4851
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&version=beta'
4952

5053
expect(page).to have_channel('Beta')
5154
expect(page).to have_link("Permalink to the playground", href: /version=beta/)
5255
end
5356

5457
scenario "loading from a Gist with a mode preserves the mode" do
58+
skip "Gist not supported yet"
5559
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&mode=release'
5660

5761
expect(page).to have_mode('Release')
5862
expect(page).to have_link("Permalink to the playground", href: /mode=release/)
5963
end
6064

6165
scenario "loading from a Gist with an edition preserves the edition" do
66+
skip "Gist not supported yet"
6267
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c&edition=2018'
6368

6469
expect(page).to have_edition('2018')
6570
expect(page).to have_link("Permalink to the playground", href: /edition=2018/)
6671
end
6772

6873
scenario "loading from a Gist without an edition selects Rust 2015" do
74+
skip "Gist not supported yet"
6975
visit '/?gist=20fb1e0475f890d0fdb7864e3ad0820c'
7076

7177
expect(page).to have_edition('2015')

0 commit comments

Comments
 (0)