Permalink
Browse files

Slider tests -- may not be implementable given current state of jQuer…

…y UI slider.
  • Loading branch information...
1 parent 74e0207 commit e6df772427febca140875b98952547fcf570f2ed @jfirebaugh committed Oct 18, 2010
Showing with 22 additions and 0 deletions.
  1. +7 −0 features/step_definitions.feature
  2. +15 −0 public/slider.html
@@ -30,6 +30,13 @@ Feature: Step definitions
Then the progress bar should be at 37%
Then the progress bar should be at 37 percent
+ Scenario: Slider steps
+ When I visit the slider page
+ Then the slider should be at 0
+
+ When I set the slider to 37
+ Then the slider should be at 37
+
Scenario: Tabs steps
When I visit the tabs page
Then I should see the following tabs:
View
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <title>Slider</title>
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
+ <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js"></script>
+ <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/themes/base/jquery-ui.css">
+ <script>
+ $(function() { $( "#slider" ).slider(); });
+ </script>
+</head>
+<body>
+<div id="slider"></div>
+</body>
+</html>

0 comments on commit e6df772

Please sign in to comment.