Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix "Refused to execute script" error and undefined method regexp_source exception #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Svelix
Copy link

@Svelix Svelix commented Jan 22, 2018

Chrome did show this js error:
Refused to execute script from 'https://raw.githubusercontent.com/christianbach/tablesorter/master/jquery.tablesorter.min.js' because its MIME type ('text/plain') is not executable, and strict MIME type checking is enabled.
Fixed it by switching to cdn.rawgit.com.

Sven Felix Oberquelle added 2 commits January 22, 2018 18:40
regexp_source is no longer an attribute of step_definition
@Svelix Svelix changed the title Fix "Refused to execute script" error Fix "Refused to execute script" error and undefined method regexp_source exception Jan 23, 2018
@Svelix
Copy link
Author

Svelix commented Jan 23, 2018

Added another fix that prevents this exception with cucumber 3.x
undefined method `regexp_source' for #Cucumber::Glue::StepDefinition:0x007f84d3ac4310 (NoMethodError)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant